• Courses
  • Tutorials
  • DSA
  • Data Science
  • Web Tech
May 27, 2022 |201.7K Views

Linked List | Set 2 (Inserting a node)

  Share  8 Likes
Description
Discussion

We have introduced Linked Lists in the previous post. We also created a simple linked list with 3 nodes and discussed linked list traversal.
All programs discussed in this post consider the following representations of linked list.

In this post, methods to insert a new node in linked list are discussed. A node can be added in three ways 
1) At the front of the linked list 
2) After a given node. 
3) At the end of the linked list.

Linked List _ Set 2 (Inserting a node): https://www.geeksforgeeks.org/linked-list-set-2-inserting-a-node/