SAP interview question

Reverse linked list Stack Binary search tree