Day 14 of 31-Day May LeetCode Challenge

Aanchal Patial
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.

--

--

Aanchal Patial

We never really grow up, we only learn how to act in public