Binary Tree Longest Consecutive Sequence
![[LeetCode] 298. Binary Tree Longest Consecutive Sequence](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FxIBUV%2FbtrM6YOPim3%2FAAAAAAAAAAAAAAAAAAAAALQzuzpWkrzScJ6v3D1qcgINH3s23hFiSDjRgLT-xQQv%2Fimg.jpg%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DjUl1wV32YlaSZdI36GWIm3cRNdg%253D)
[LeetCode] 298. Binary Tree Longest Consecutive Sequence
298. Binary Tree Longest Consecutive Sequence Medium Given the root of a binary tree, return the length of the longest consecutive sequence path. A consecutive sequence path is a path where the values increase by one along the path. Note that the path can start at any node in the tree, and you cannot go from a node to its parent in the path. Example 1: Input: root = [1,null,3,2,4,null,null,null,..