Skip to content

Tag Archives: doubly linked list

Given a doubly linked list containing N nodes, the task is to delete all the even nodes from the list.  Examples:   Input: Initial List =… Read More
Given a doubly-linked list containing N nodes and given a number K. The task is to find the sum of all such nodes which are… Read More
Given a doubly linked list containing N nodes and a number K, the task is to delete all the nodes from the list that are… Read More
Pre-requisite: Convert an Array to a Circular Doubly Linked List, Doubly Circular Linked ListGiven a Doubly circular linked list. The task is to find the… Read More
The entire process consisted of 5 rounds: 1 online coding, 1 debugging, 2 Technical and 1 HR/System Design Round. The minimum criteria for the online… Read More
Prerequisite:  Insert Element Circular Doubly Linked List. Convert an Array to a Circular Doubly Linked List. Given the start pointer pointing to the start of… Read More
The problem is to reverse the given doubly circular linked list. Examples: Input:  Output:   Recommended: Please try your approach on {IDE} first, before moving on to… Read More
Prerequisite: Doubly Linked list, Circular Linked List, Circular Doubly Linked ListGiven an array of N elements. The task is to write a program to convert… Read More
Given a binary tree containing n distinct numbers and a value x. The problem is to count pairs in the given binary tree whose sum… Read More
Sort the given doubly linked list using bubble sort. Examples:   Input : 5 4 3 2 1 Output : 1 2 3 4 5 Input :… Read More
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list… Read More
Sort the given biotonic doubly linked list. A biotonic doubly linked list is a doubly-linked list which is first increasing and then decreasing. A strictly… Read More
Given a doubly linked list, the task is to find the size of that doubly linked list. For example, size of below linked list is… Read More
A Doubly linked list is a linked list that consists of a set of sequentially linked records called nodes. Each node contains two fields that… Read More
Given two very large numbers in form of strings. Your task is to apply different arithmetic operations on these strings. Prerequisite : Doubly Linked List.… Read More

Start Your Coding Journey Now!