LTM Limited Interview Question

How have u come to solve this problem in your project?