mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-05-31 20:37:15 +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
|
return the smallest substring of the search string that contains
|
||||||
all target char_dict.
|
all target char_dict.
|
||||||
|
|
||||||
>>> is_contains_unique_chars("Hello World", "lWl")
|
>>> min_window("Hello World", "lWl")
|
||||||
"llo W"
|
"llo W"
|
||||||
>>> is_contains_unique_chars("Hello World", "f")
|
>>> min_window("Hello World", "f")
|
||||||
""
|
""
|
||||||
|
|
||||||
This solution uses a sliding window, alternating between shifting
|
This solution uses a sliding window, alternating between shifting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user