Meta Interview Question

3. rotate without diagonal changing