Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
Hash
1.3K+ articles
Linked List
1.2K+ articles
Data Structures
1.1K+ articles
Greedy Algorithms
111+ articles
Traversal
81+ articles
Linked-List-Sorting
63+ articles
Algorithms-Recursion
51+ articles
Data Structures-Linked List
12 posts
Recent Articles
Popular Articles
Delete all the nodes from the doubly linked list that are greater than a given value
Last Updated: 23 March 2023
Given a doubly linked list containing N nodes and a number X, the task is to delete all the nodes from the list that are greater than the given value X.Examples:Input: 10 ...
read more
Linked List
Data Structures
DSA
Data Structures-Linked List
Greedy Algorithms
Sum of the nodes of a Singly Linked List
Last Updated: 11 January 2023
Given a singly linked list. The task is to find the sum of nodes of the given linked list.Task is to do A + B + C + D.Examples:Input: 7-6-8-4-1Output: 26Sum of nodes:7 + 6...
read more
Linked List
DSA
Data Structures-Linked List
Algorithms-Recursion
Traversal
Sort a Linked List in wave form
Last Updated: 21 November 2022
Given an unsorted Linked List of integers. The task is to sort the Linked List into a wave like Line. A Linked List is said to be sorted in Wave Form if the list after sor...
read more
Misc
Linked List
DSA
Data Structures-Linked List
Linked-List-Sorting
Count pairs from two linked lists whose product is equal to a given value
Last Updated: 06 February 2023
Given two linked lists(can be sorted or unsorted) of size n1 and n2 of distinct elements. Given a value X. The problem is to count all pairs from both lists whose product ...
read more
Linked List
Technical Scripter 2018
DSA
Data Structures-Linked List
Convert a String to a Singly Linked List
Last Updated: 22 December 2022
Given string str, the task is to convert it into a singly Linked List.Examples:Input: str = "ABCDABC"Output: A - B - C - D - A - B - CInput: str = "GEEKS"Output: G - E - E...
read more
Strings
Algorithms
Technical Scripter
Technical Scripter 2019
DSA
Data Structures-Linked List
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 31 July 2024
You may have heard that DSA is primarily used in the field of computer science. Although DSA is most commonly used in the computing field, its application is not restricte...
read more
Linked List
Tree
Graph
Stack
Queue
Heap
Hash
Matrix
Data Structures
DSA
Arrays
Data Structures
Data Structures-Binary Trees
Data Structures-Tree Traversals
Data Structures-Linked List
Data Structures-Stack
Data Structures-Queue
Data Structures-Graph
Data Structures-Balanced Binary Search Trees
Data Structures-Hash
Data Structures-Array
Data Structures-Misc
Data Structures-B and B+ Trees
Data Structures-Heap
Advantages, Disadvantages, and uses of Doubly Linked List
Last Updated: 02 May 2025
A Doubly Linked List(DLL) is a linear data structure that contains an extra pointer, typically called the previous pointer, together with the next pointer and data which a...
read more
Linked List
Data Structures
DSA
Data Structures-Linked List
doubly linked list
Longest Continuous Sequence with difference K in Linked List
Last Updated: 11 October 2023
Given a linked list and given an integer K, the task is to find the length of the longest continuous sequence in a linked list that has a difference of k.Examples:Input: 4...
read more
Linked List
Hash
DSA
HashSet
Data Structures-Linked List
Set
Find product of nodes whose weights is catalan number in a Linked list
Last Updated: 04 December 2023
Given a linked list with weights, the task is to find the product of nodes whose weights are Catalan numbers.Examples:Input: 3(1) - 7 (4) - 5 (2) - 12 (5) - 14 (3) - NULLO...
read more
Linked List
Geeks Premier League
DSA
Data Structures-Linked List
cpp-unordered_set
Check Contiguous 1s Sequence in Binary Linked List
Last Updated: 03 December 2023
Given a binary linked list and integer K, the task is to check whether the binary linked list contains a contiguous sequence of 1s of K length.Examples:Input: 0 - 1 - 1 - ...
read more
Linked List
Geeks Premier League
DSA
Data Structures-Linked List
Geeks Premier League 2023
How to Create a Doubly Linked List in C?
Last Updated: 02 September 2024
A doubly linked list is a type of linked list in which each node contains a pointer to both the next node and the previous node. This allows traversal in both forward and ...
read more
C Programs
C Language
Picked
C Basics
Data Structures-Linked List
doubly linked list
C Examples
C-DSA
Double a Number Represented in a Linked List
Last Updated: 05 June 2024
Given a non-empty linked list representing a non-negative integer without leading zeroes the task is to double the value of whole linked list like(2-3-1 then answer will b...
read more
Linked List
DSA
Linked Lists
Data Structures-Linked List
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !