Skip to content

Category Archives: Linked List

Given a 2-variable polynomial represented by a doubly linked list, the task is to find the partial derivative of a polynomial stored in the doubly-linked… Read More
Given two polynomials P1 and P2 in the form of a singly linked list respectively, the task is to print the quotient and remainder expressions… Read More
Given a singly linked list containing N nodes, the task is to find the sum of all possible nodes of the list which contains value… Read More
Given two polynomial numbers represented by a circular linked list, the task is to add these two polynomials by adding the coefficients of the powers… Read More
Given a Linked List of even number of nodes, the task is to generate a new Linked List such that it contains the maximum difference… Read More
Given a singly linked list containing N nodes, the task is to find the mean of all the distinct nodes from the list whose data… Read More
An array is a collection of similar types of elements. For example, an integer array holds the elements of int types while a character array… Read More
Given a pointer to the head node of a Linked List, the task is to create a copy of the linked list using recursion. Examples::We… Read More
Given a node of Linked List N and a value K, the task is to insert the node with value K in the linked list… Read More
Given a Stack S, the task is to print the elements of the stack from top to bottom such that the elements are still present… 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
Given two linked lists L1 and L2, the task is to print a new list obtained by merging odd position nodes of L1 with the… Read More
Data Structure is the way of storing data in computer’s memory so that it can be used easily and efficiently. There are different data-structures used… Read More
Prerequisite: List, Stack Lists are sequence containers that allow non-contiguous memory allocation. As compared to vector, list has slow traversal, but once a position has… Read More
Given a Linked List consisting of integers, the task is to print the number of distinct absolute values present in the Linked List. Examples: Attention reader!… Read More

Start Your Coding Journey Now!