Question d’entretien chez Microsoft

How to rotate strings in a multi-dimensional matrix.