In a circular singly linked list, the last node in the list contains a pointer to the first
Author: Fahad Ali
How to reverse a linked list?
Reversing Linked List is an interesting topic in data structure and algorithms. This article describes several algorithms to
How to swap nodes in a linked list without Swapping data?
Given a linked list and two keys in it, swap the node for two given keys. You need
How to write C functions that modify head pointer of a Linked List?
Consider a simple representation of the linked list (no dummy nodes). The functions that manipulate these linked lists
Find Length of a Linked List (Iterative and Recursive)?
Both recursion and iteration execute a series of instructions repeatedly. Recursion is when a declaration in a function
A Programmer’s approach of looking at Array vs. Linked List
Arrays are generally considered data structures that are fixed in size at compile time and whose array memory
Deletion in Linked List
Deletion of the linked list can occur in different parts of the list. Some cases are: Beginning of
How to delete a node in a linked list at a given Location?
Introducing linked lists and inserting linked lists was covered in a previous post on linked lists of data
Insertion in Linked List
A linked list is a set of data structures interconnected by links. A linked list is a set
Differences between Arrays and Linked Lists?
Both arrays and linked lists are used to store similar types of linear data, but arrays consume contiguous