Bizda 2 ta o'ralgan ∀for∀ zanjirlari bor: tashqi zanjir $n-1$ marta, ichki zanjir esa $n-1$ dan $1$ gacha o'zgarib turadi, shuning uchun o'rtacha $n/2$. Katta O notatsiyasi odatda eng tez o'sayotgan faktordan tashqari hamma narsani chiqarib tashlaydi, shuning uchun ikkalasi bilan ko'paytirish $O(n-1 \times n/2) = O(n \times n) = O(n^2) $ hosil qiladi.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence