Baxter Interview Question

Reverse array dsa problem and matrix