← All problemsSign in

Hide N Seek

Ankit wanted to buy presents for his girlfriend. But he is broke. He can't afford to buy her presents. So he decides to rob a very expensive artifact from a very rich businessman. The room with the artifact has a maze. The maze consists of walls, guns and empty spaces. Ankit can only move through empty spaces. The guns fire only in one direction. If Ankit is one line of fire of any gun, he dies.

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