Binary Tree Longest Consecutive Sequence II
Problem overview from a real Uber interview:
Find the maximum length of an increasing or decreasing path where adjacent nodes differ by one, including child-parent-child traversal. Asked at Uber.
Check more interview questions and experiences about Uber
