Pergunta de entrevista da empresa DoiT

Why did you choose the algorithm in your take-home assignment implementation?