Wipro Interview Question

reverse a linked list and a question based on sorting