DBS Bank Interview Question

Technical question