摘要:
1 class Solution: 2 def numRookCaptures(self, board: 'List[List[str]]') -> int: 3 basei = 0 4 basej = 0 5 row = len(board) 6 coloum = len(board[0]) 7 8 ...
阅读全文
posted @ 2019-02-24 12:58
Sempron2800+
阅读(111)
推荐(0)
编辑
摘要:
1 class Solution: 2 def findJudge(self, N: int, trust: 'List[List[int]]') -> int: 3 if N==1 and len(trust)==0: 4 return 1 5 s = list(range(1,N+1)) 6 d = ...
阅读全文
posted @ 2019-02-24 12:37
Sempron2800+
阅读(120)
推荐(0)
编辑