## Traverse Linked List from middle to left-right order using recursion

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 »

- Create new linked list from two given linked list with greater element at each node
- Delete Nth node from the end of the given linked list
- Print Binary Tree levels in sorted order | Set 3 (Tree given as array)
- Count duplicates in a given linked list
- Find sum of even and odd nodes in a linked list
- Find the node with minimum value in a Binary Search Tree using recursion
- Sum of all distinct nodes in a linked list
- Sum of nodes in a linked list which are greater than next node
- Find the balanced node in a Linked List
- Create a linked list from two linked lists by choosing max element at each position
- Remove Nth node from end of the Linked List
- Element in a matrix starting from which anti-clockwise traversal ends at the last element
- Sum of smaller elements of nodes in a linked list
- Check whether the sum of element of a node is equal to the given key value
- Print all the sub diagonal elements of the given square matrix
- Traverse Linked List from middle to left-right order using recursion
- Print all the super diagonal elements of the given square matrix
- Maximum sum of the array after dividing it into three segments
- Print all the peaks and troughs in an Array of Integers
- Compare sum of first N-1 elements to Nth element of an array

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 an array of integers arr[], the task is to print a list of all the peaks and another list of all the troughs present… 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 an array a of size N. The task is to find the maximum sum of array possible by dividing the array into three segments… Read More »

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 a Binary Search Tree, the task is to find the node with minimum value. Examples: Input: Output: 4 Recommended: Please try your approach on… Read More »

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 »

Given a square matrix mat[][] of size n * n. The task is to print all the elements which lie on the super-diagonal of the… Read More »

Given a square matrix mat[][] of size n * n. The task is to print all the elements which lie on the sub-diagonal of the… Read More »

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 »

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 »

Given two linked list of equal sizes, the task is to create new linked list using those linked lists where at every step, the maximum… Read More »

Given an array arr[] of size N, the task is to check whether the sum of first N – 1 element of the array is… Read More »

Given a linked list, every node of which consists of a pair of integer variables first and second to hold the data, and a pointer… Read More »

Given a linked list and it may consist of duplicate nodes. The task is to find the sum of non-duplicate nodes. Examples: Input: 1 ->… Read More »