It's always hard to do coding problems. I had to design four functions: add, search, suggestion, and delete.
I provided two methods but I'm not really familiar with tries, so I had to use maps. Then he gave me some follow-ups, including edge cases and more scenarios. I didn't have enough time to finish the last question.
Design a search engine where users can search by prefix.
The following metrics were computed from 1 interview experience for the TikTok SDE-I role in United States.
TikTok's interview process for their SDE-I roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for TikTok's SDE-I interview process in United States.