79. 單詞搜索

遞歸 class Solution: def exist(self, board: List[List[str]], word: str) -> bool: self.lx = len(board) - 1 self.ly = len(board[0]) - 1 m = len(board)
相關文章
相關標籤/搜索