Pergunta de entrevista da empresa Cognizant

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