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

Given a linked list which represents an integer number where every node is a digit if the represented integer. The task is to add a… Read More »

## Find the first duplicate element in the linked list

Given a linked list. Find the first element from the left which appears more than once. If all the elements are unique then print -1.… Read More »

## Add one to a number represented as linked list | Set 2

Given a singly linked list which represents a number where each node contains only one digit [0 – 9]. The task is to add 1… Read More »

## Reverse alternate K nodes in a Singly Linked List – Iterative Solution

Given a linked list and an integer K, the task is to reverse every alternate K nodes. Examples: Input: 1 -> 2 -> 3 ->… Read More »

## Reverse a Linked List in groups of given size (Iterative Approach)

Given a linked list and an integer K, the task is to reverse every K nodes of the given linked list. Examples: Input: 1 ->… Read More »

## Bitonic point in the given linked list

Given a linked list with distinct elements, the task is to find the bitonic point in the given linked list. If there is no such… Read More »

## Delete Nth node from the end of the given linked list

Given a linked list and an integer N, the task is to delete the Nth node from the end of the given linked list. Examples:… Read More »

Given two numbers represented by two linked lists, write a function that returns sum list. The sum list is linked list representation of addition of… Read More »

## Maximum sum of K consecutive nodes in the given Linked List

Given a linked list, the task is tofind the maximum sum obtained by adding any k consecutive nodes of linked list. Examples: Input: 1 ->… Read More »

## Sum of distances between the two nearest perfect squares to all the nodes of the given linked list

Given a linked list, the task is to find the sum of distances between the two nearest perfect squares for all the nodes of the… Read More »

## Run Length Decoding in Linked List

Given an encoded Linked List which is encoded using the Run Length Encoding algorithm. The task is to decode the given linked list and generate… Read More »

## Find the balanced node in a Linked List

Given a linked list, the task is to find the balanced node in a linked list. A balanced node is a node where the sum… Read More »

## Convert a given Binary Tree to Circular Doubly Linked List | Set 2

Given a Binary Tree, convert it to a Circular Doubly Linked List. The left and right pointers in nodes are to be used as previous… Read More »

## Count duplicates in a given linked list

Given a linked list. The task is to count the number of duplicate nodes in the linked list. Examples: Input: 5 -> 7 -> 5… Read More »

## Create new linked list from two given linked list with greater element at each node

Given two linked list of the same size, the task is to create a new linked list using those linked lists. The condition is that… Read More »