Longest Univalue Path Leetcode Solution