Standard Chartered Bank interview question

Problem and how you solved it