Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated: fixed mypy error in strings/naive_string_search.py
  • Loading branch information
root committed Aug 9, 2021
commit 133921c8e429135707bd12f22ab2abd89d7ebc9f
2 changes: 1 addition & 1 deletion strings/naive_string_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def naive_pattern_search(s: str, pattern: str) -> list:

if __name__ == "__main__":
assert naive_pattern_search("ABCDEFG", "DE") == [3]
print(naive_pattern_search('ABAAABCDBBABCDDEBCABC', 'ABC'))
print(naive_pattern_search("ABAAABCDBBABCDDEBCABC", "ABC"))