## Add the given digit to a number stored in a linked list using recursion

Given a linked list which represents an integer number where each node is a digit of the represented integer. The task is to add a… 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 which represents an integer number where each node is a digit of the represented integer. The task is to add a… Read More »

There are two singly linked lists in a system. By some programming error, the end node of one of the linked list got linked to… Read More »

Given a linked list, the task is to reverse the contiguous even elements and print the updated linked list. Input: 1 -> 2 -> 3… Read More »

Given an array arr[] of integers and a pointer to a random node of a circular sorted linked list (initially empty), the task is to… Read More »

Given K sorted doubly linked list. The task is to merge all sorted doubly linked list in single sorted doubly linked list means final list… Read More »

Given a Linked List. The task is to traverse the Linked List from middle to left-right order using recursion. For Example: If the given Linked… Read More »

Given a singly linked list and an integer K. The task is to append last K elements of the linked list to front. Examples: Input:… Read More »

A stack is a collection of objects that are inserted and removed using Last in First out Principle(LIFO). User can insert elements into the stack,… Read More »

A Queue is a collection of objects that are inserted and removed using First in First out Principle(FIFO). Insertion is done at the back(Rear) of… Read More »

Given two polynomial numbers represented by a linked list. Write a function to perform their algebraic sum. Examples: Input: 1st number = 5x^2 + 4x^1… Read More »

Given a linked list. The task is to remove the Nth node from the end of the linked list. Examples: Input : 1->2->3->4->5 , N… Read More »

Given a linked list. The task is to print the difference between the first odd positioned node with the sum of all other odd positioned… Read More »

Given a linked list, the task is to find the maximum sum for any contiguous nodes. Examples: Input: -2 -> -3 -> 4 -> -1… Read More »

A data structure is a particular way of organizing data in a computer so that it can be used effectively. The idea is to reduce… Read More »

Given a circular linked list with N nodes and an integer K where 0 < K < N, the task is to split the first… Read More »