Skip to content

Instantly share code, notes, and snippets.

@amulyagaur
Created July 16, 2017 18:15
Show Gist options
  • Save amulyagaur/502d42e56844a7df9a6862c0cb8f83fb to your computer and use it in GitHub Desktop.
Save amulyagaur/502d42e56844a7df9a6862c0cb8f83fb to your computer and use it in GitHub Desktop.
// Linked lists are basically a collection of connected nodes of the following structure.
struct node
{
int data; // this part holds the data (can be of any datatype)
struct node* next; // this part holds pointer to the next node
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment