Given the root of a binary tree with n uniquely-valued nodes and two values, startValue and destValue, representing the values of the start and destination nodes respectively. Find the shortest path from the start node to the destination node and return the step-by-step directions as a string consisting of 'L', 'R', and 'U' indicating left, right, and up moves respectively.
Click Run to execute sample tests.