- Write a C program that inserts a node at a given index in the doubly linked list.
- Write a C program that reverses the order of the elements in a doubly linked list.
- Write a C program that removes the first occurrence of a given element from the doubly linked list.
- Write a C program that removes all occurrences of a given element from the doubly linked list.
- Write a C program that returns the middle element of a doubly linked list.
- Write a C program that merges two sorted doubly linked lists into a single sorted doubly linked list.
- Write a C program that sorts a doubly linked list in ascending order.
- Write a C program that computes the intersection of two doubly linked lists.
- Write a C program that computes the union of two doubly linked lists.
- Write a C program that checks if a doubly linked list is a palindrome.
- Write a C program that deletes the last node of a doubly linked list.
- Write a C program that finds the second last node of a doubly linked list.
- Write a C program that rotates a doubly linked list by a given number of nodes.
- Write a C program that splits a doubly linked list into two halves.
- Write a C program that deletes all nodes of a doubly linked list.
- Write a C program that deletes nodes from the doubly linked list which are less than a given value.
- Write a C program that removes duplicates from a doubly linked list.
- Write a C program that finds the kth node from the end of a doubly linked list.
- Write a C program that swaps two nodes in a doubly linked list.
- Write a C program that inserts a node at the beginning of a doubly linked list.
- Write a C program that adds two doubly linked lists of the same length.
- Write a C program that adds a doubly linked list and a singly linked list.
- Write a C program that adds a node at the end of a doubly linked list.
- Write a C program that checks if a doubly linked list is sorted in descending order.
- Write a C program that deletes a node from a doubly linked list given its index.
- Write a C program that removes all nodes from a doubly linked list that are greater than a given value.
- Write a C program that sorts a doubly linked list in descending order.
- Write a C program that computes the sum of all elements in a doubly linked list.
- Write a C program that computes the average of all elements in a doubly linked list.
- Write a C program that returns the maximum and minimum elements in a doubly linked list.
- Write a C program that finds the longest consecutive sequence of nodes with consecutive data values in a doubly linked list.
- Write a C program that finds the median element of a doubly linked list.
- Write a C program that performs a binary search on a sorted doubly linked list.
- Write a C program that creates a doubly linked list from an array.
- Write a C program that rotates a doubly linked list by a given number of positions in a single pass.
- Write a C program that removes all nodes from a doubly linked list except the ones at odd positions.
- Write a C program that removes all nodes from a doubly linked list except the ones at even positions.
- Write a C program that removes nodes from a doubly linked list such that no two adjacent nodes have the same value.
- Write a C program that finds the sum of all elements in a doubly linked list between two given indices.
- Write a C program that finds the product of all elements in a doubly linked list between two given indices.
- Write a C program that finds the maximum subarray sum in a doubly linked list.
- Write a C program that reverses every k nodes of a doubly linked list.
- Write a C program that merges two sorted doubly linked lists.
- Write a C program that deletes every nth node from a doubly linked list.
- Write a C program that checks if a doubly linked list is a palindrome.
- Write a C program that removes all nodes from a doubly linked list that appear more than once.
- Write a C program that removes all nodes from a doubly linked list that are not part of any increasing subsequence.
- Write a C program that removes all nodes from a doubly linked list that are not part of any decreasing subsequence.
- Write a C program that deletes all nodes from a doubly linked list that are not divisible by a given number.
- Write a C program that finds the length of the longest palindromic subsequence in a doubly linked list.
- Write a C program that performs a quicksort on a doubly linked list.
- Write a C program that finds the kth smallest element in a doubly linked list.
- Write a C program that inserts a node in a sorted doubly linked list in its correct position.
- Write a C program that removes all nodes from a doubly linked list that have duplicates.
- Write a C program that reverses the order of a doubly linked list.
- Write a C program that checks if a doubly linked list is a circular linked list.
- Write a C program that rotates a doubly linked list by k positions to the left.
- Write a C program that removes all nodes from a doubly linked list that are not part of any strictly increasing subsequence.
- Write a C program that removes all nodes from a doubly linked list that are not part of any strictly decreasing subsequence.
- Write a C program that finds the kth largest element in a doubly linked list.
- Write a C program that finds the longest increasing subsequence in a doubly linked list.
- Write a C program that deletes all nodes from a doubly linked list that are not part of any non-decreasing subsequence.
- Write a C program that inserts a node in a sorted doubly linked list in such a way that the list remains sorted.
- Write a C program that finds the length of the longest common subsequence between two doubly linked lists.
- Write a C program that merges k sorted doubly linked lists into a single sorted doubly linked list.
- Write a C program that deletes every node from a doubly linked list that is equal to a given value.
- Write a C program that checks if a doubly linked list is a palindrome without using extra space.
- Write a C program that finds the kth element from the end of a doubly linked list.
- Write a C program that removes all nodes from a doubly linked list that are not part of any non-increasing subsequence.
- Write a C program that finds the maximum sum subarray in a doubly linked list.
- Write a C program that finds the median of a sorted doubly linked list.
- Write a C program that finds the longest palindrome subsequence in a doubly linked list.
- Write a C program that removes all nodes from a doubly linked list that have a value outside a given range.
- Write a C program that finds the largest subarray with equal number of 0s and 1s in a doubly linked list.
- Write a C program that merges two sorted doubly linked lists into a single sorted doubly linked list in descending order.
- Write a C program that converts a binary tree to a doubly linked list in inorder traversal.
- Write a C program that checks if a doubly linked list is a rotation of another doubly linked list.
- Write a C program that finds the largest subarray with distinct elements in a doubly linked list.
- Write a C program that removes all nodes from a doubly linked list that have a value equal to the average of the values of its neighbors.
- Write a C program that finds the length of the longest subarray with alternating positive and negative elements in a doubly linked list.
Không có nhận xét nào