## Delete nodes which have a greater value on right side using recursion

Given a singly linked list, remove all the nodes which have a greater value on the right side. Examples: a) The list 12->15->10->11->5->6->2->3->NULL should be… Read More »

- Implementing a Linked List in Java using Class
- Design a data structure for LRU Cache
- Implement a stack using singly linked list
- Amazon SDE-2 Interview Experience
- Delete a Node from linked list without head pointer
- Recursively Reversing a linked list (A simple implementation)
- Print the last k nodes of the linked list in reverse order
- Flatten a binary tree into linked list | Set-2
- Coviam Software Developer Internship Experience
- Clone a stack without extra space
- Applications of linked list data structure
- Remove last node of the linked list
- Remove first node of the linked list
- Delete all the even nodes of a Circular Linked List
- Flatten a binary tree into linked list | Set-3
- Delete every Kth node from circular linked list
- Sandvine Interview Experience for FTE 2018
- Sum of the nodes of a Singly Linked List
- Multiplication of two polynomials using Linked list
- Count pairs in a binary tree whose sum is equal to a given value x
- Find the Second Largest Element in a Linked List
- Difference between Singly linked list and Doubly linked list
- Append odd position nodes in reverse at the end of even positioned nodes in a Linked List
- Reverse a doubly circular linked list
- Iterative Merge Sort for Linked List
- Second Smallest Element in a Linked List
- Merge two sorted linked list without duplicates
- Sum of the nodes of a Circular Linked List
- Delete all the even nodes from a Doubly Linked List
- Delete all Prime Nodes from a Singly Linked List

Given a singly linked list, remove all the nodes which have a greater value on the right side. Examples: a) The list 12->15->10->11->5->6->2->3->NULL should be… Read More »

Given a Linked List as the input. The task is to encode the given linked list using Run Length Encoding. That is, to replace a… Read More »

Given a linked list. The task is to reverse the order of the elements of the Linked List using an auxiliary Stack. Examples: Input :… Read More »

Given a singly linked list, write a function to swap elements pairwise. Input : 1->2->3->4->5->6->7 Output : 2->1->4->3->6->5->7, Input : 1->2->3->4->5->6 Output : 2->1->4->3->6->5 Recommended:… Read More »

Given a pointer to the head of a singly linked list and an integer k. The task is to find the product of first k… Read More »

Given a linked list containing N nodes and a positive integer k should be less than or equal to N. The task is to print… Read More »

Prerequisite: XOR Linked List – A Memory Efficient Doubly Linked List | Set 1 XOR Linked List – A Memory Efficient Doubly Linked List |… Read More »

Applied through employee referral Round 1: I was sent a link 40 multiple choice questions were there 20 aptitude questions and rest 20 questions from java fundamentals,… Read More »

Given a Singly Linked List. The task is to check if the absolute difference between the consecutive nodes in the linked list is 1 or… Read More »

Given LinkedList, replace each node’s value with its surpasser count. That is the count of elements which are greater towards its right. Examples: Input :… Read More »

Given A sorted linked list of elements. The task is to find the median in the given Sorted Linked List. We know that median in… Read More »

Given a singly linked list containing n nodes. Modify the value of first half nodes such that 1st node’s new value is equal to the… Read More »

Introduction to Singly linked list : A singly linked list is a set of nodes where each node has two fields ‘data’ and ‘link’. The… Read More »

Given a doubly linked list ‘L’ and an array ‘refArr’ of references to the nodes of the doubly linked list ‘L’. Array 'refArr' does not… Read More »

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 »