Pregunta de entrevista de ThoughtSpot

Trie based string matching question