Intel Corporation Interview Question

write code to sort a singly linked list