NVIDIA interview question

Transpose a 2 dimensional LUT in C