Aloha Technology Interview Question

Rotate an array and object oriented programming