← All problemsSign in

Thor and Rakshith

Thor,the god of thunder and lightning possess an enchanted hammer and has the ability to manipulate weather conditions.On the basis of this,a student designed a toy such that he can also change the weather conditions based on simple logic. The toy is designed in such a way that it displays you a set of numbers.Now, you have to break these list of numbers into two subsets such that the difference 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