Nagarro Interview Question

coding question- 1. reverse the string 2. addition of two Matrix