Pergunta de entrevista da empresa Zibal Technologies

Sort the array in order of N complexity