ACCENTURE | COGNIZANT | IBM | CAPGEMINI
Kanalga Telegram’da o‘tish
Ko'proq ko'rsatish
7 594
Obunachilar
-424 soatlar
-357 kunlar
-6330 kunlar
Postlar arxiv
from math import gcd
def is_coprime(a, b):
return gcd(a, b) == 1
def solve (N, A):
dp = [1] * N
for i in range(1, N):
for j in range(i):
if A[i] > A[j] and not is_coprime(A[i], A[j]):
dp[i] = max(dp[i], dp[j] + 1)
return max(dp)
Done ✅
IBM CODEKNACK slots are opened.
For IBM slots 👇👇
mlcoder2
HCL slot-10 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-9 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-9 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-8 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-7 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-4 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-5 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
HCL slot-4 done ✅
All 5 sections completed ✅
Each and every section is an elimination round ✅
Contact: @mlcoder2
Endi mavjud! Telegram Tadqiqoti 2025 — yilning asosiy insaytlari 
