Pergunta de entrevista da empresa OneFin

In second technical round, they gave me to solve lexographical sorting without using strings