[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-09 04:45:37 +00:00
parent f9fe6cc9a6
commit 2f60ff9674
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def generate_parenthesis(n: int) -> list[str]:
Example 2:
>>> generate_parenthesis(1)
['()']
Example 3:
>>> generate_parenthesis(0)
['']

View File

@ -66,7 +66,7 @@ def word_break(input_string: str, word_dict: set[str]) -> bool:
>>> word_break("catsandog", {"cats", "dog", "sand", "and", "cat"})
False
>>> word_break("applepenapple", {})
False
"""