Nagarro interview question

Mathematical reasoning questions.