Skip to content

Commit 5e8a8ee

Browse files
committed
Runtime: 75 ms (Top 31.13%) | Memory: 14 MB (Top 42.55%)
1 parent b9015e1 commit 5e8a8ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Runtime: 75 ms (Top 31.13%) | Memory: 14 MB (Top 42.55%)
12
class Solution:
23
def mostWordsFound(self, ss: List[str]) -> int:
3-
return max(s.count(" ") for s in ss) + 1
4+
return max(s.count(" ") for s in ss) + 1

0 commit comments

Comments
 (0)