Nagarro interview question

Live coding 1 question