DoiT interview question

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