McAfee interview question

1) sort a BST 2) create a "Y" linked list