Question d’entretien chez IndiaMART

write a code for reversing a linked list.