Pergunta de entrevista da empresa Varis

Write a sort without library functions. Generate an array of size n with random numbers from 1 to 100.