Arrays – Rotate Left

rotate_arrayThis is the first of a set of challenges (I believe the series / set is relatively new) in the HackerRank web site. You may find them at HackerRank under All Domains -> Tutorials -> Cracking the Coding Interview.

The challenge is to develop the body for a method / function that rotates left an array of n integers k times. Continue reading “Arrays – Rotate Left”