← All problemsSign in

The Attack on Jotunheim

Odin, God of wisdom was a fearless king. He ruled Asgard and is the protector of the nine realms. However, the nine realms are in danger as Laufey, kinf of Jotunheim started a plot against the nine realms and declare himself the supreme commander by destroying the nine realms. Odin wants to kill Laufey, before he destroys the Nine realms. However, there are N number of enemy territories between As

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