Step-By-Step Directions From a Binary Tree Node to Another
CodingSoftware Engineer
Examples
Example 1:
Input: root = [5,1,2,3,null,6,4], startValue = 3, destValue = 6
Output: "UURL"
Example 2:
Input: root = [2,1], startValue = 2, destValue = 1
Output: "L"