EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: linked-list-problem / Level: beginner
101. Write a function to merge k sorted linked lists into one sorted list.
102. How do you create a copy of a linked list using recursion?
103. Implement a function to delete every nth node in a linked list.
104. Write a function to find the node where two linked lists merge.
105. How do you insert a node at the middle of a linked list?
106. Write a function to reverse the order of nodes in groups of k in a singly linked list.
107. Implement a function to find the common elements in two linked lists.
108. How do you create a circular linked list from a doubly linked list?
109. Write a function to rearrange a linked list such that all even-indexed nodes come before odd-indexed nodes.
110. Implement a function to check if a linked list has a cycle using a slow and fast pointer approach.
111. How do you split a doubly linked list into two linked lists?
112. Write a function to count the number of times a given value occurs in a linked list.
113. How do you check if a circular linked list contains a loop?
114. Implement a function to merge two doubly linked lists.
115. Write a function to remove all nodes that have a greater node on the right side in a singly linked list.
116. How do you delete all nodes before a given node in a linked list?
117. Implement a function to delete all nodes after a given node in a singly linked list.
118. Write a function to find the sum of the values of all nodes in a doubly linked list.
119. How do you sort a linked list using selection sort?
120. Implement a function to count the number of even nodes in a linked list.
121. How do you check if two linked lists have the same elements?
122. Write a function to remove a node from the beginning of a circular linked list.
123. How do you find the sum of the elements in an odd-indexed linked list?
124. Implement a function to reverse a doubly linked list without changing its pointers.
125. Write a function to count the number of nodes in a circular doubly linked list.
126. How do you swap the head and tail of a doubly linked list?
127. Implement a function to reverse the data in a linked list, leaving the structure unchanged.
128. Write a function to delete every node that is greater than its previous node in a linked list.
129. How do you rearrange a linked list so that all nodes divisible by 3 appear at the end?
130. Implement a function to find the smallest element in a doubly linked list.
131. How do you insert a node at the k-th position in a circular linked list?
132. Write a function to rotate a doubly linked list by k positions.
133. How do you append one circular linked list to another?
134. Implement a function to delete nodes in a linked list that are smaller than the following node.
135. Write a function to remove all nodes whose value is greater than a given threshold.
136. How do you reverse the first half of a linked list?
137. Implement a function to delete all nodes whose value is smaller than the average of the linked list.
138. How do you remove the head node of a doubly linked list?
139. Write a function to find the second last element of a linked list.
140. How do you move the maximum element of a linked list to the end?
141. Implement a function to delete all odd-positioned nodes in a linked list.
142. Write a function to merge two circular linked lists into one.
143. How do you convert a doubly linked list into a singly linked list?
144. Implement a function to count the number of nodes in a circular singly linked list.
145. How do you append the elements of a doubly linked list to a singly linked list?
146. Write a function to reverse the order of elements in a doubly linked list.
147. How do you merge two unsorted linked lists into a sorted linked list?
148. Implement a function to insert a node in a doubly linked list at a given position.
149. Write a function to remove all even-positioned nodes in a doubly linked list.
150. How do you delete every second node in a doubly linked list?
Previous
2
3
4
...
20
Next
More Levels
Intermediate
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram