MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / startsWith

Method startsWith

Week 06/id_251/LeetCode_208_251.py:57–68  ·  view source on GitHub ↗

Returns if there is any word in the trie that starts with the given prefix. :type prefix: str :rtype: bool

(self, prefix)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dfsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected