← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Level: Mid-Level
Round: Phone Screen · Type: Coding · Difficulty: 6/10 · Duration: 60 min · Interviewer: Unfriendly
Topics: Trie, Backtracking
Location: San Francisco, CA
Interview date: 2025-11-01
Got offer: False
I had a technical phone interview. The question involved using a Trie, but I couldn't remember how to implement it. I asked if I could use backtracking instead. The interviewer agreed. After I finished the backtracking solution, the interviewer asked me to explain how a Trie would work.
The coding question I received involved using a Trie data structure.
` // Trie Implementation (Example) class TrieNode: def init(self): self.children = {} self.is_word = False
def insert(self, word):
node = self
for char in word:
if char not in node.children:
node.children[char] = TrieNode()
node = node.children[char]
node.is_word = True
`
My Approach:
Key Takeaways:
LeetCode similar: LeetCode 212