employer cover photo
employer logo
employer logo

Samsung R&D Institute India - Noida

Est-ce votre entreprise ?

Question d’entretien chez Samsung R&D Institute India - Noida

How to reverse a linked list

Réponse à la question d'entretien

Utilisateur anonyme

1 févr. 2018

I solved the problem using 2 pointers one to keep track of the previous node and one for current and simultaneously updating the node pointers. I wrote the function in C returning the head pointer.