DHL interview question

Why was this particular algorithm chosen and why.