¿Esta es tu empresa?
Reverse a Linked list
Anónimo
//function in C++ Node *reverse(Node *head){ /*Assuming struct Node{ int info; Node *next; }; */ Node *prev=NULL,*next=NULL; while(head!=NULL){ next=head->next; head->next=prev; prev=head; head=next; } return prev; }
Sigue a tus empresas favoritas para estar al tanto de las últimas oportunidades y disponer de información desde adentro.
Recibe recomendaciones y actualizaciones personalizadas al iniciar tu búsqueda.