Sum Of Infinite Array Leetcode Questions