Baxter interview question

Reverse array dsa problem and matrix