Archive of posts with category 'Linked Lists'

Cycle Detection in a Linked List

Today we are going to solve a very interesting concept in linked lists that is cycle detection. There is a cycle in a linked list if there is some node...

Flatten a Multilevel Doubly Linked List

We have already familiarised ourselves with linked lists and today we’ll try to solve another linked list problem.

Reverse A Portion of The Linked List

The linked list is another interesting data structure in Computer Science. They are similar to arrays but instead of storing data in consecutive memory locations in a linked list the...