mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update README.md
This commit is contained in:
parent
fb6507ce38
commit
faf6e7321e
@ -43,7 +43,7 @@ class Trie:
|
||||
def search(self, word: str) -> bool:
|
||||
return self.match(word)
|
||||
|
||||
def startsWith(self, prefix: str) -> bool:
|
||||
def starts_with(self, prefix: str) -> bool:
|
||||
return self.match(prefix, True)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user