Leetcode-999. Available Captures for Rook

—Easy https://leetcode.com/problems/available-captures-for-rook/  Code: class Solution: def numRookCaptures(self, board) -> int: ans_cnt = 0 m = len(board) n = len(board[0]
相關文章
相關標籤/搜索