IBM Interview Question

How to flip a 2d array 90 degrees

Interview Answer

Anonymous

Nov 4, 2024

It's pretty easy to flip a 2d matrix 90 degrees .. we just have to transpose in "i x j" (formula for the matrix) that is flip the i and j values