From Observation to the Solution. #leetcode #leetcodedailychallenge Code: https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/solutions/3435172/java-solution-using-maintaining-previous-move/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.