Given the linked list and an array arr[] of size N, the task is to reverse every arr[i] nodes of the list at a timeâ€¦ Read More
Given a doubly linked list having all unique elements and two keys X and Y, the task is to swap nodes for two given keysâ€¦ Read More
Split given Circular Linked List into three halves without calculating its length such that the difference between a linked list with a maximum number ofâ€¦ Read More
Given a linked list lis of length N, the task is to determine the maximum distance between two consecutive peaks of the given linked list.â€¦ Read More
Given a sequence of numbers in the form of a linked list lis. Find the length of the Longest Increasing Subsequence(LIS) of the given Linkedâ€¦ Read More
Given a doubly-linked list containing n nodes. The problem is to reverse every group of k nodes in the list. Examples:  Input: List: 10<->8<->4<->2, K=2Output:â€¦ Read More
Given a linked list lis of length N, where N is even. The task is to maximize the sum of two equidistant nodes from theâ€¦ Read More
Given two linked lists, list1 and list2 of sizes m and n respectively. The task is to remove list1’s nodes from the ath node toâ€¦ Read More
Given two linked lists that represent two large positive numbers. Subtract the smaller number from the larger one and return the difference as a linkedâ€¦ Read More
Given two linked lists that represent two large positive numbers. Subtract the smaller number from the larger one and return the difference as a linkedâ€¦ Read More
Given two linked lists that represent two large positive numbers. Subtract the smaller number from the larger one and return the difference as a linkedâ€¦ Read More
Given two linked lists that represent two large positive numbers. Subtract the smaller number from the larger one and return the difference as a linkedâ€¦ Read More
Given a linked list and two positions ‘m’ and ‘n’. The task is to rotate the sublist from position m to n, to the rightâ€¦ Read More
Given a linked list and two positions ‘m’ and ‘n’. The task is to rotate the sublist from position m to n, to the rightâ€¦ Read More