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
1. Write a function to create a simple linked list with 3 nodes.
2. How do you traverse a singly linked list?
3. Implement a function to insert a node at the beginning of a singly linked list.
4. Implement a function to insert a node at the end of a singly linked list.
5. Write a function to find the length of a linked list.
6. How do you delete the first node in a singly linked list?
7. Write a function to delete the last node of a singly linked list.
8. Implement a function to search for an element in a linked list.
9. Write a function to print all elements in a singly linked list.
10. Implement a function to reverse a singly linked list.
11. How do you swap two nodes in a linked list?
12. Write a function to find the nth node from the end of a linked list.
13. How do you find the middle element of a linked list?
14. Implement a function to detect a loop in a linked list.
15. Write a function to remove a loop in a linked list.
16. How do you merge two sorted linked lists into one?
17. Write a function to check if a linked list is palindrome.
18. Implement a function to delete a linked list.
19. Write a function to remove duplicates from a sorted linked list.
20. How do you insert a node in a sorted linked list?
21. Write a function to split a circular linked list into two halves.
22. How do you count the number of nodes in a circular linked list?
23. Implement a function to create a doubly linked list with 4 nodes.
24. How do you traverse a doubly linked list in reverse order?
25. Write a function to delete a node in a doubly linked list.
26. How do you reverse a doubly linked list?
27. Write a function to find the length of a doubly linked list.
28. Implement a function to insert a node at the beginning of a doubly linked list.
29. How do you insert a node at the end of a doubly linked list?
30. Write a function to delete a node from a circular linked list.
31. How do you check if two linked lists are identical?
32. Implement a function to append a node at the end of a circular linked list.
33. How do you concatenate two linked lists?
34. Write a function to create a circular doubly linked list.
35. How do you find the intersection point of two linked lists?
36. Write a function to delete alternate nodes in a linked list.
37. How do you sort a linked list using bubble sort?
38. Implement a function to split a linked list into odd and even nodes.
39. Write a function to clone a linked list with next and random pointers.
40. How do you find the last node of a linked list?
41. Implement a function to delete the nth node from the end of a linked list.
42. How do you check if a circular linked list is empty?
43. Write a function to insert a node after a given node in a singly linked list.
44. How do you find the sum of all elements in a linked list?
45. Write a function to merge two unsorted linked lists.
46. Implement a function to find the maximum value in a linked list.
47. How do you find the minimum value in a linked list?
48. Write a function to remove duplicates from an unsorted linked list.
49. Implement a function to find the kth node from the beginning in a linked list.
50. How do you count the occurrences of an element in a linked list?
Previous
1
2
...
20
Next
More Levels
Intermediate
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram