MTAP Technologies interview question

in 1st round they ask 2 coding questions.