Pergunta de entrevista da empresa ByteDance

Interviewer asked to sort numbers lexicographically. That problem can be found in leetcode.

Resposta da entrevista

Sigiloso

19 de jan. de 2021

I approached with trie. But there is an optimized solution for this problem.