← All problemsSign in

Yash and his Assignment

Yash is an engineering student. And as you know that there are lots of assignments that need to be submitted at the end of the semester. On Monday morning, Yash wakes up at 8 am and suddenly remembers that today is the day of final submission and he needs to submit an assignment before 12 noon in college. He got an assignment in which there are $N$ problem (arranged in increasing order of thei

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start