Skip to content

Commit 2f60ff9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f9fe6cc commit 2f60ff9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backtracking/generate_parentheses.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def generate_parenthesis(n: int) -> list[str]:
6464
Example 2:
6565
>>> generate_parenthesis(1)
6666
['()']
67-
67+
6868
Example 3:
6969
>>> generate_parenthesis(0)
7070
['']

backtracking/word_break.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def word_break(input_string: str, word_dict: set[str]) -> bool:
6666
6767
>>> word_break("catsandog", {"cats", "dog", "sand", "and", "cat"})
6868
False
69-
69+
7070
>>> word_break("applepenapple", {})
7171
False
7272
"""

0 commit comments

Comments
 (0)