Pergunta de entrevista da empresa Microsoft

The first question was about rotating the array by k places in optimised manner.