Nagarro interview question

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