LTM Limited interview question

What algorithm and Why you choose the algorithm