Solving circular array rotation

Akshay Ravindran
3 min readJun 12, 2018
Photo by Jeremy Perkins on Unsplash

Out of Free Stories? Here is my Friend Link.

Circular Array Rotation

John Watson knows of an operation called a right circular rotation on an array of integers. One rotation operation moves the last array element to the first position and shifts all remaining elements right one. To test Sherlock’s abilities, Watson provides Sherlock with an array of integers. Sherlock…

--

--

Akshay Ravindran

Code -> Understand-> Repeat is my motto. I am a Data Engineer who writes about everything related to Data Science and Interview Preparation for SDE.