Standard Chartered Bank interview question

easy leetcode and hr qns