Nagarro interview question

Coding Round Ques 3- Matrix multiplication