Salesforce Interview Question

1.Binary search tree . 2. Reverse the linked list from the middle.