Interview bit not traversing the my return

Interview bit not traversing the my return. following is my code . Its running fine when i print values of the 2d array i am returning.

Click here to start solving coding interview questions