#datastructures

Program to Reverse a Queue - Code Explained

Today we will be discussing the  Program to Reverse a Queue - Code Explained . But before reading further if you are unfamiliar with the concept of queue then refer to this link . Suppose we have a queue 1->2->3->4 the…

Delete all even nodes of a Circular Linked List

Today we will discuss how to  Delete all even nodes of a Circular Linked List . But if you are unfamiliar with the concepts of circular linked list then please refer to this link . Suppose we have a circular linked list like 1…

Exchange First and Last nodes in Circular Linked List

Today we will be discussing the algorithm to  Exchange First and Last nodes in Circular Linked List .  But, if you are unfamiliar with the concepts of circular linked list then refer to this link . Suppose we have circular lin…

Delete a node at kth Position in Circular Linked List

Today we will discuss how to  delete a node at kth position in circular linked list . But if you are unfamiliar with the concepts of circular linked list then please refer to this link . Suppose you have a circular linked lis…

Sort a Circular Linked List

Today we will be discussing how to  Sort  a Circular Linked List.  But if you are unfamiliar with the concepts of circular linked list then please refer to this link . Suppose we have a circular linked list like 4->3->2-…

Reverse a Circular Linked List

Today we will be discussing how to find reverse of a circular linked list. But, if are unfamiliar with the concepts of circular linked list then click on this link where I have explained everything about circular linked list …

Reverse a Doubly Linked List

Today we will be discussing how to reverse a doubly linked list. But if you are new to doubly linked list then please refer to this link where I have explained everything about doubly linked list from basic to advance. Rever…

Find Pair with given sum in Doubly Linked List

Today we will be discussing how to Find Pair of elements from doubly linked list with given sum. But if you are new to doubly linked list then please refer to this link  where I have explained everything about doubly linked lis…

Load More
That is All