Posts

Program to merge two sorted linked lists

Given two sorted linked list which are sorted in increasing order. Write a function to merge these two sorted linked list.

Program for sorted insertion in linked list

Write a function to insert a node in linked list as sorted manner. For example if linked list is 3->5->23->45->65 and we want to insert a node in which data is 22 then insert it at its correct position which is between 5 and 23.

Program to insert node at nth position in linked list

Write a function to insert a node at given position. Simple C Program to insert node at nth position.

Program to count the frequency of an element in linked list

Write a function that count the frequency or occurrence of a given element Or count the total number of nodes which have data equal to a given number.

Simple Program to delete given node from linked list

C Program for deletion of a given node from linked list. For example if linked list is 2->3->23->7->54->34 then we are given to delete a node in which data is 23 or 34.

how to delete node from end of linked list

Given a linked list, delete a node from end of linked list. Here is simple C Program to delete node from end of linked list.

Delete Node from beginning of linked list

C Program to delete node from beginning position of linked list. Simple C program to delete nodes.