Day 14 of 31-Day May LeetCode Challenge
1 min readMay 14, 2020
Implement a trie with insert
, search
, and startsWith
methods.
Note:
- You may assume that all inputs are consist of lowercase letters
a-z
. - All inputs are guaranteed to be non-empty strings.