Wipro interview question

Programming question on rotating an array