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
相关文章
相关标签/搜索