ServiceNow Interview Question

Rotate a matrix