Pergunta de entrevista da empresa Cradle

Time complexity for some sorting algorithms, and a code review