Problem Statement: You are given an array of k linked-lists lists, each linked list is sorted in ascending order. You need
Continue readingCategory: Linked List
Reorder List
Problem Statement: You are given the head of a singly linked list. The list can be represented as : L0
Continue readingDelete kth node of circular linked list
Problem Statement: Given a circular linked list, delete the kth node of the circular linked list. Example: Example 1: Input:
Continue readingSegregate 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 reading