Pergunta de entrevista da empresa Clever

Leetcode question - sort an array consisting of military times in order.