Search
⌘K
Get Premium
Leetcode 3001. Minimum Moves to Capture The Queen
Given positions of a white rook, a white bishop, and a stationary black queen on an 8x8 chessboard, compute the minimum number of moves (moving only the rook or bishop, which move along ranks/files or diagonals and cannot jump over the other piece) needed to capture the queen.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.