Pergunta de entrevista da empresa Netcracker Technology

Find nth largest/smallest number in an array

Resposta da entrevista

Sigiloso

29 de mar. de 2021

Sort the array in either descending or ascending order and then pass a parameter to find the nth largest or nth smallest number