← All problemsSign in

Help Yoda

Master Yoda is in a big fight with Darth Vader. But as you know that Vader is no less than Master Yoda since he is too old as compared to him, Vader was successful in giving Yoda a beat and locked him up in a cell. Now with the fighting skills of Master Yoda (well known) he needs to escape from the trap. But the trap is set up in such a way that if Master Yoda strikes his Lightsaber and cuts a squ

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