Pergunta de entrevista da empresa Sabre

Write a code using a Trie data structure to form trees of strings. The two candles puzzle (two candles - length unknown but both burn down in 1 hour. How do you measure 45 minutes using them)