← All problemsSign in

Partitioning Vijju

Our Lonely Vijju is feeling sooo lonely that Sometimes he talks (rather shouts at god), "Why god, Why me!!!!, Where did i go wrong." The god had blessed him with only one thing ever, his IQ (Intelligence Quotient). He has the IQ $N$. God Taran had some mercy on him and granted him a superpower, that he can share his IQ with anyone and make him is friend. Formally, God Taran gave him an array $B$

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