2. Delete a node in double linked list
void deleteNode(node *n)
{
node *np = n->prev;
node *nn = n->next;
np->next = n->next;
nn->prev = n->prev;
delete n;
}
Tutorials, Free Online Tutorials,It Challengers provides tutorials and interview questions of all technology like java tutorial, android, java frameworks, javascript, core java, sql, php, c language etc. for beginners and professionals.
Hi there! I am Founder at IT Challangers and programming enthusiast. My skills includes Android, PHP, WordPress and lot more. If you have any idea that you would want me to develop? Let’s talk:
Learn More →
No comments:
Post a Comment