Tutorials
Courses
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
Python
21.3K+ articles
Experiences
16.6K+ articles
C++ Programs
2.4K+ articles
Java Programs
2.0K+ articles
Amazon
1.8K+ articles
Sorting
1.8K+ articles
Microsoft
802+ articles
doubly linked list
130+ articles
Linked Lists
302+ posts
Recent Articles
Popular Articles
Replace every node with closest Prime number in a Singly Linked List
Last Updated: 28 December 2023
Given a linked list, the task is to replace every node with its closest prime number and return the modified list.Examples:Input: List: 1 - 2 - 8 - 7 - 14 - NULLOutput: 2 ...
read more
Linked List
Geeks Premier League
DSA
Linked Lists
Prime Number
Geeks Premier League 2023
Move the Kth Largest Fibonacci Number Node to the End of a Singly Linked List
Last Updated: 04 January 2024
Given a singly linked list containing integer values. The task is to find the Kth largest Fibonacci number within this list and move it to the end of the list.Examples:Inp...
read more
Linked List
Geeks Premier League
DSA
Linked Lists
Fibonacci
Geeks Premier League 2023
Move the Kth Prime Number Node to the End of the Linked List
Last Updated: 23 December 2023
Given a singly linked list, the task is to move the Kth prime number node to the end of the list while preserving the order of other nodes.Examples:Input: 4 - 7 - 11 - 3 -...
read more
Linked List
Geeks Premier League
DSA
Linked Lists
Geeks Premier League 2023
Product of nodes with Bell Number weights in a Singly Linked List
Last Updated: 04 December 2023
Given a singly linked list containing nodes with numeric values and their corresponding weights. The goal is to find the product of the nodes whose weight corresponds Bell...
read more
Linked List
Geeks Premier League
DSA
Linked Lists
Geeks Premier League 2023
Find Sublist with Contiguous Sum Equal to K
Last Updated: 12 January 2024
Given a singly linked list, you need to determine if there exists a sublist within the list where the sum of elements in the sublist is equal to a given integer K. Your Ta...
read more
Linked List
Geeks Premier League
DSA
Linked Lists
two-pointer-algorithm
Geeks Premier League 2023
POTD Solutions | 17 Nov' 23 | Binary Tree to CDLL
Last Updated: 22 November 2023
View all POTD SolutionsWelcome to the daily solutions of our PROBLEM OF THE DAY (POTD). We will discuss the entire problem step-by-step and work towards developing an opti...
read more
Competitive Programming
DSA
Linked Lists
Trees
GFG-POTD-Solutions
Convert a HashSet to a LinkedList in Java
Last Updated: 25 January 2024
In Java, HashSet and LinkedList are linear data structures. These are majorly used in many cases. There may be some cases where we need to convert HashSet to LinkedList. S...
read more
Java
Java Programs
Picked
Linked Lists
Java-Collections
HashSet
Java Examples
How to Create a Circular Linked List in C?
Last Updated: 20 March 2024
The circular linked list is a version of a linked list where the last node does not point to the NULL, but instead, it points back to the first node making a circular loop...
read more
C Programs
C Language
Picked
Linked Lists
C-Pointers
C-Structure & Union
C Examples
How to Create a Linked List in C?
Last Updated: 13 August 2024
Write a C program to create a linked list.A linked list is a sequential data structure that stores the data in non-contiguous memory locations unlike array. In a linked li...
read more
C Programs
C Language
Picked
Linked Lists
C Examples
Two-Pointer Technique in a Linked List
Last Updated: 04 March 2024
The two-pointer technique is a common technique used in linked list problems to solve a variety of problems efficiently. It involves using two pointers that traverse the l...
read more
Linked List
Data Structures
DSA
Linked Lists
two-pointer-algorithm
Data Structures and Algorithms-QnA
Traversal of Singly Linked List
Last Updated: 18 February 2025
Traversal of Singly Linked List is one of the fundamental operations, where we traverse or visit each node of the linked list. In this article, we will cover how to traver...
read more
Linked List
Picked
DSA
Linked Lists
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
Python Program to Implement Stack Using Linked List
Last Updated: 08 April 2024
In Python, creating a stack using a linked list involves implementing a data structure where elements are added and removed in a last-in-first-out (LIFO) manner. This appr...
read more
Python
Python Programs
Picked
Linked Lists
Python-DSA
Linked List of Linked List
Last Updated: 11 May 2024
Linked list of linked list, also known as nested linked lists, is a type of Linked List where each main node stores another full linked list. This structure beats old, ...
read more
Linked List
Picked
DSA
Linked Lists
Print Linked List
Last Updated: 11 December 2024
Given a Singly Linked List, the task is to print all the elements in the list.Examples:Input: 1-2-3-4-5-nullOutput: 1 2 3 4 5Explanation: Every element of each node from h...
read more
Linked List
DSA
Linked Lists
1
2
3
4
...
21
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 !