Standard Chartered Bank interview question

Question based on programming and subjects like DSA, opps, java