Nokia Interview Question

rotate the given array with tc