From faf6e7321e6abdf4b04ad7fac74ca77ddf510150 Mon Sep 17 00:00:00 2001 From: marina <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Thu, 3 Aug 2023 16:32:11 -0700 Subject: [PATCH] Update README.md --- tries/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tries/README.md b/tries/README.md index 6867bae..d0c45e4 100644 --- a/tries/README.md +++ b/tries/README.md @@ -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) ```