Introduction
The linked list is a type of linear data structure formed by interconnected nodes. These nodes are linked to each other using pointers such that each node contains a pointer to its next node. Unlike arrays, the nodes in the linked list are stored in random memory locations. The first node of the linked list is called the head of the linked list, and the last node is called the tail of the linked list. The next pointer of the tail of the linked list points to a null pointer. On the basis of the linkage between the nodes of the linked list, the linked list can be of three types- Singly-linked list- It contains interconnected nodes, where each node contains some data and a pointer to the next node. It can only be traversed in one direction. Doubly linked list- It contains nodes that contain data and two pointers, a pointer to the previous node and the pointer to the next node. It allows us to traverse the linked list in both the forward and backward directions. Circular linked list- A linked list in which the next pointer of the tail points to the head of the linked list is known as a cyclic linked list.
Create Linked List From A Given Array
By Malay Gain
● Published At Nov 2021
In this article, we will learn how to create a linked list from a given array.... Keep reading ..
Binary search on Linked List
By Yukti Kumari
● Published At Nov 2021
This article deals with the algorithm to perform binary search on a linked list and explains the time and space complexity. ... Keep reading ..
Insert a node at a specific position in a linked list
By Urwashi Priya
● Published At Nov 2021
This article will brief you on how to insert a node at a specific position in a linked list. ... Keep reading ..
Deletion of a linked list
By Shreya Deep
● Published At Nov 2021
In this article, we’ll learn how to delete a linked list ... Keep reading ..
Unrolled linked list
By Shreya Deep
● Published At Jan 2022
In this article, you’ll be introduced to an unrolled linked list.... Keep reading ..
Implementing a Linked List in Java Using Class
By Ishita Chawla
● Published At Dec 2021
This blog will discuss implementing a linked list in Java using Class.... Keep reading ..
LinkedList descendingIterator in Java
By Saksham Gupta
● Published At Jan 2022
In this blog, we will discuss Linked List iterators and see the LinkedList descendingIterator in detail. ... Keep reading ..
Construct a Linked List from a 2D Matrix
By Malay Gain
● Published At Jan 2022
In this article, we will learn how to construct a linked list from a 2D matrix in an iterative approach.... Keep reading ..
Advantages and Disadvantages of LinkedList
By Nishant Rana
● Published At Jan 2022
This blog will cover the Advantages and Disadvantages of LinkedList. ... Keep reading ..
LinkedList implementation in JavaScript
By Dhruv Sharma
● Published At Dec 2021
In this article, we will look at implementing one of the most frequently used data structures, i.e. LinkedList in Javascript.... Keep reading ..
Is it possible to reverse a linked list in less than O(n)?
By Reet Maggo
● Published At Nov 2021
This article will explain the minimum time possible to reverse a linked list.... Keep reading ..
How to write the functions that modify the head pointer of a Linked List in C?
By Malay Gain
● Published At Nov 2021
In this article, we will learn how to modify the head pointer of a Linked List ... Keep reading ..
Generic Linked List in C
By Malay Gain
● Published At Nov 2021
In this article, we will learn how to implement Generic Linked List in C. ... Keep reading ..
LinkedList listIterator() method in Java
By Priyanka Patwal
● Published At Nov 2021
In this article we will discuss the LinkedList listIterator method in Java. ... Keep reading ..
Java.util.LinkedList.offer(), offerFirst(), offerLast() in Java
By Soumya Agrawal
● Published At Nov 2021
In this article, we will discuss the special functions of the LinkedList class in java.... Keep reading ..
Retrieving Value from a LinkedHashMap by Index in Java
By dhruv sharma
● Published At Nov 2021
In this article, we will discuss how to get value from a LinkedHashMap by index in Java.... Keep reading ..
LinkedList removeFirst method in Java
By Soumya Agrawal
● Published At Nov 2021
In this article, we will cover the LinkedList method in Java to optimize the code. ... Keep reading ..
LinkedList add() method in Java
By Nishant Rana
● Published At Jan 2022
This blog will cover the famous method of LinkedList add() method in Java. ... Keep reading ..
LinkedList addAll() method in Java
By Nishant Rana
● Published At Jan 2022
This blog will cover the famous method of LinkedList i.e., addAll() method in Java. ... Keep reading ..
Reverse a Linked List in Groups
By aniket verma
● Published At Apr 2022
This article revolves around how to reverse a linked list in groups in the C++ Programming language using the brute force approach and the most optimal solution.... Keep reading ..