← All problemsSign in

Kill the rook

Sayali and Gargi are playing chess. They decided to play it in an unusual way by setting their own rules. Sayali has only one rook and Gargi has only one knight. Now, the task for Gargi is to win the game by killing the rook in minimum number of moves. 1. Chessboard is like normal chessboard of total 64 blocks,8*8 grid of 32 white and 32 black blocks. Consider leftmost bottom corner block as (0,0

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