Flatten Binary Tree to Linked List
Flatten a binary tree into a linked list following preorder traversal. Return the list of values from the right pointers.
Flatten a binary tree into a linked list following preorder traversal. Return the list of values from the right pointers.