## Linked List Implementation in C#

A LinkedList is a linear data structure which stores element in the non-contiguous location. The elements in a linked list are linked with each other… Read More »

- Print the last k nodes of the linked list in reverse order | Recursive approach
- Pairwise swap adjacent nodes of a linked list by changing pointers | Set 2
- Program to reverse a linked list using Stack
- Create linked list from a given array
- Print the last k nodes of the linked list in reverse order | Iterative Approaches
- Add Two Numbers Represented by Linked Lists | Set 3
- Add the given digit to a number stored in a linked list
- Convert a given Binary Tree to Circular Doubly Linked List | Set 2
- Linked List Implementation in C#
- Bubble Sort for Linked List by Swapping nodes
- Create new linked list from two given linked list with greater element at each node
- Iterative selection sort for linked list
- Reverse a Linked List in groups of given size (Iterative Approach)
- Find sum of even and odd nodes in a linked list
- Count duplicates in a given linked list
- Delete Nth node from the end of the given linked list
- Program to unfold a folded linked list
- Delete nodes which have a greater value on right side using recursion
- Correct the Random Pointer in Doubly Linked List
- Maximum sum of K consecutive nodes in the given Linked List
- Program to implement Run Length Encoding using Linked Lists
- Sum of nodes in a linked list which are greater than next node
- Reverse alternate K nodes in a Singly Linked List - Iterative Solution
- Sum of all distinct nodes in a linked list
- Divide the given linked list in two lists of size ratio p:q
- Insert N elements in a Linked List one after other at middle position
- Introduction to Data Structures | 10 most commonly used Data Structures
- 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
- Find the product of first k nodes of the given Linked List

A LinkedList is a linear data structure which stores element in the non-contiguous location. The elements in a linked list are linked with each other… Read More »

A linked list L0 -> L1 -> L2 -> ….. -> LN can be folded as L0 -> LN -> L1 -> LN – 1… Read More »

Given a doubly linked list having exactly one of the node pointing to a random node in the list, the task is to correct this… Read More »

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

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 »