← All problemsSign in

Flash and Steps

Problem Statement The Flash is one of DC Comics' most popular characters and has been integral to the publisher's many reality-changing "crisis" storylines over the years.The character has the power to move at super speeds.One day he had to move fast to a location K (a point on the X axis). Now he is allowed to take only two types of moves.He is initially at the origin(0,0). 1)Move X steps to th

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