Dream11 interview question

rotate 2 dimensional array