Skip to content

Category Archives: Linked List

Given a Linked List and a key K. The task is to write a program to delete all the nodes from the list that are… Read More
Given a doubly linked list and an array with only odd values. Both are of equal size N. The task is replace all node which… Read More
Sandvine visited our campus for FTE. Total 3 round 1. Aptitude (20 MCQ) 20 min 2. Technical (30 MCQ) 40 min ( Computer Network, Operating… Read More
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
Given a singly linked list, the task is to remove all the nodes which have a greater value on the left side. Examples: Input: 12->15->10->11->5->6->2->3Output:… Read More
In this sorting algorithm, Hash Function f is used with the property of Order Preserving Function which states that if .  Hash Function: f(x) = floor(… Read More
Delete every kth node from a circular linked list until only one node is left. Also, print the intermediate lists. Examples:   Input : n=4, k=2,… Read More
Given a Linked List and a key K. The task is to write a program to delete all the nodes from the list that are… Read More
Given a singly linked list of integers, the task is to sort it using iterative merge sort. Recommended: Please solve it on “PRACTICE” first, before… Read More
Given pointer to the head node of a linked list, the task is to recursively reverse the linked list. We need to reverse the list… Read More
Given a singly linked list. The task is to find the sum of nodes of the given linked list.  Task is to do A +… Read More
Given a Linked List of integers. The task is to write a program to modify the linked list such that all even numbers appear before… 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