Array Traversal in O(n) Time, O(1) Space · 2daysbeforeinterview