Pregunta de entrevista de IBM

How to flip a 2d array 90 degrees

Respuesta de la entrevista

Anónimo

4 de nov de 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