Skip to content

Commit 51baf03

Browse files
Update dynamic_programming/word_break.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent 7bef651 commit 51baf03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: dynamic_programming/word_break.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from typing import Any
2525

2626

27-
def word_break(string: str, word_dict: list[str]) -> bool:
27+
def word_break(string: str, words: list[str]) -> bool:
2828
"""
2929
Return True if numbers have opposite signs False otherwise.
3030

0 commit comments

Comments
 (0)