← All problemsSign in

Shah saves Rukh

Problem description. There are two friends Shah and Rukh. The God of Death, Hela, is tired of her job so she arrives on Earth to recruit people and appoint them as her assistants. She includes Shah and Rukh in her list along with others. She takes all of them to a place named Asguard to start the recruitment process. As Hela decides to recruit only two of them, she gives a deadly task of survival

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