DBS Bank interview question

Nothing difficult