## Append odd position nodes in reverse at the end of even positioned nodes in a Linked List

Given a linked list. The task is to segregate its even and odd position nodes in such a way that odd position nodes appear before… Read More »

- Create linked list from a given array
- Introduction to Data Structures | 10 most commonly used Data Structures
- Add Two Numbers Represented by Linked Lists | Set 3
- Delete Nth node from the end of the given linked list
- Add the given digit to a number stored in a linked list
- Convert a given Binary Tree to Circular Doubly Linked List | Set 2
- Create new linked list from two given linked list with greater element at each node
- Reverse a Linked List in groups of given size (Iterative Approach)
- Count duplicates in a given linked list
- Maximum sum of K consecutive nodes in the given Linked List
- Reverse alternate K nodes in a Singly Linked List - Iterative Solution
- Remove Nth node from end of the Linked List
- Add one to a number represented as linked list | Set 2
- Find the balanced node in a Linked List
- Write a function to get the intersection point of two Linked Lists | Set 2
- Reverse even elements in a Linked List
- Create a linked list from two linked lists by choosing max element at each position
- Find the first duplicate element in the linked list
- Divide the given linked list in two lists of size ratio p:q
- Merge K sorted Doubly Linked List in Sorted Order
- Maximum sum contiguous nodes in the given linked list
- Python | Stack using Doubly Linked List
- Sum of all odd frequency nodes of the Linked List
- Traverse Linked List from middle to left-right order using recursion
- Run Length Decoding in Linked List
- Bitonic point in the given linked list
- Splitting starting N nodes into new Circular Linked List while preserving the old nodes
- Adding two polynomials using Linked List using map
- Insertion in a sorted circular linked list when a random pointer is given
- Subtraction of the alternate nodes of Linked List

Given a linked list. The task is to segregate its even and odd position nodes in such a way that odd position nodes appear before… Read More »

Given a singly linked list, find middle of the linked list. Given a singly linked list, find middle of the linked list. For example, if… Read More »

Given a binary tree, flatten it into linked list in-place. Usage of auxiliary data structure is not allowed. After flattening, left of each node should… Read More »

Given a linked list. The task is to change the value of the previous and next node of a node to 0 if the current… Read More »

Given a singly linked list containing N nodes, the task is to delete all nodes from the list which are not prime. Examples: Input :… Read More »

Given a singly linked list. The task is to find the average of all nodes of the given singly linked list. Examples: Input: 7->6->8->4->1 Output:… Read More »

Static Queue: A queue is an ordered list of elements. It always works in first in first out(FIFO) fashion. All the elements get inserted at… Read More »

Given a singly circular linked list. The task is to find the sum and product of nodes which are divisible by K of the given… Read More »

Delete all odd position nodes from circular linked list Given a Singly Circular Linked List, starting from the first node delete all odd position nodes… Read More »

Given a Circular Linked List. The task is to write programs to delete nodes from this list present at: First position. Last Position. At any… Read More »

Given two polynomials in the form of linked list. The task is to find the multiplication of both polynomials. Examples: Input: Poly1: 3x^2 + 5x^1… Read More »

Given a singly circular linked list of nodes. The task is to find the smallest and largest elements in the circular linked list. Examples: Input… Read More »

Given a singly linked list containing N nodes, the task is to find the total count of prime numbers. Examples: Input: List = 15 ->… Read More »

Given a singly linked list which is sorted in ascending order and another singly linked list which is unsorted. The task is to print the… Read More »

Given a Linked List and a key K. The task is to calculate the sum and product all the nodes from the list that are… Read More »