Whenever you're ready, walk me through how you'd approach this.
How would you find the largest sum of a cycle in a directed maze given an Edge[] array?