Sollicitatievraag bij Cognizant

Question from Data structure. like write a code to sort a linked list.