LeetCode-Available Captures for Rook

Description: On an 8 x 8 chessboard, there is one white rook. There also may be empty squares, white bishops, and black pawns. These are given as characters ‘R’, ‘.’, ‘B’, and ‘p’ respectively. Upperc
相關文章
相關標籤/搜索