Nagarro interview question

There were 3 programming questions in written test.