Circular Array Loop Leetcode Premium