Problem Statement: Given a circular linked list, delete the kth node of the circular linked list. Example: Example 1: Input:
Continue readingCategory: Linked List
Segregate even and odd nodes in LinkedList
Problem Statement :Â Segregate even and odd nodes in LinkedList Given a LinkedList of integers. Modify the LinkedList in such a
Continue readingImplement stack using linked list
Pre-requisites: Basic knowledge of stack and operations in the linked list. Introduction Stack is a linear data structure in which
Continue readingDetect and remove loop in a linked list
Problem Statement: Given the head of a linked list, determine if the linked list has a cycle in it and
Continue readingImplement Queue using Linked List
Problem Statement: Implement Queue using Singly LinkedList Prerequisites: Queue and LinkedList Data Structure. Detailed Explanation of the Queue and LinkedList
Continue readingInsertion at begin of circular linked list
Problem Statement: Given a Circular Linked List, insert an element at begin of the circular linked list. Examples: Example 1:
Continue readingDelete head of Circular Linked List
Problem Statement: Given a circular linked list, delete the head of the circular linked list. Examples: Example 1: Input: 1
Continue readingInsertion at end of circular linked list
Problem Statement: Given a Circular Linked List, insert an element at end of the circular linked list. Examples: Example 1: Input:
Continue readingPairwise swap nodes of linked list
Problem Statement: Given a singly linked list. Your task is to swap all the elements pairwise. Examples: Example 1: Input:
Continue readingDoubly Circular Linked List
What is a Doubly Circular Linked List? A doubly circular linked list is a data structure where no NULL exists.
Continue reading