Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
1,400 views
For proper oa or interview experiences list of all top tech companies visit :

https://oa.desiqna.in

https://interview.desiqna.in
in Online Assessments by Expert (46,090 points) | 1,400 views

1 Answer

0 like 0 dislike

Images of ques

imageimage

 

by Expert (46,090 points)
0 0
parcels=[2,3,6,10,11,15]

k=10000

min_=0

i=1
while len(parcels)<k:
    if i not in parcels:
        parcels.append(i)
        min_+=i
    i+=1

print(min_)