Converging Maze Largest Sum Cycle Leetcode