Skip to content

Commit 6c0a38f

Browse files
committed
Runtime: 82 ms (Top 35.62%) | Memory: 14 MB (Top 54.79%)
1 parent 663d0fa commit 6c0a38f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/C/Check if Move is Legal/Check if Move is Legal.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Runtime: 82 ms (Top 35.62%) | Memory: 14 MB (Top 54.79%)
12
class Solution:
23
def checkMove(self, board: List[List[str]], rMove: int, cMove: int, color: str) -> bool:
34
directions = [False] * 8
@@ -23,4 +24,4 @@ def checkMove(self, board: List[List[str]], rMove: int, cMove: int, color: str)
2324
directions[d] = False
2425
else:
2526
directions[d] = False
26-
return False
27+
return False

0 commit comments

Comments
 (0)