Skip to content

Commit 093510f

Browse files
committed
Runtime: 106 ms (Top 5.05%) | Memory: 14 MB (Top 60.17%)
1 parent c5b7788 commit 093510f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/T/Three Consecutive Odds/Three Consecutive Odds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Runtime: 106 ms (Top 5.05%) | Memory: 14 MB (Top 60.17%)
12
class Solution:
23
def threeConsecutiveOdds(self, arr: List[int]) -> bool:
34
c=0
@@ -8,4 +9,4 @@ def threeConsecutiveOdds(self, arr: List[int]) -> bool:
89
c+=1
910
if c==3:
1011
return True
11-
return False
12+
return False

0 commit comments

Comments
 (0)