mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Fixed incorrect function name in test cases
This commit is contained in:
parent
d11acec5f3
commit
deb7f89291
|
@ -4,9 +4,9 @@ def min_window(search_str: str, target_letters: str) -> str:
|
|||
return the smallest substring of the search string that contains
|
||||
all target char_dict.
|
||||
|
||||
>>> is_contains_unique_chars("Hello World", "lWl")
|
||||
>>> min_window("Hello World", "lWl")
|
||||
"llo W"
|
||||
>>> is_contains_unique_chars("Hello World", "f")
|
||||
>>> min_window("Hello World", "f")
|
||||
""
|
||||
|
||||
This solution uses a sliding window, alternating between shifting
|
||||
|
|
Loading…
Reference in New Issue
Block a user