Pergunta de entrevista da empresa Lowe's Home Improvement

Find K smallest values in the array

Resposta da entrevista

Sigiloso

18 de dez. de 2022

The most optimal answer to this question would be with the algorithm called quick select, I remembered the algorithm but I didn't know the implementation so I stated this thing and suggested an alternative approach but again he was looking for the answer he knew.