Implement a Trie with `insert(word)`, `search(word)`, and `startsWith(prefix)` methods for lowercase English words.
N/A (Design problem).
N/A.
Example 1:
Input:
Output:
All DSA practice problems · DSA mock interview · Mock interviews by company and role · Book a 1:1 interview