First Bank Interview Question

A challenge I have faced and how I resolved it