- Basic Linked List operations
- Fast and slow pointers
- Reversing a Linked List
- Middle of the Linked List
- Remove Duplicates from Sorted List
- Reverse Linked List II
-
What is the time complexity for finding the middle of a linked list using the fast and slow pointer technique?
- a) O(n)
- b) O(log n)
- c) O(n^2)
- d) O(1)
-
Which operation is most efficient in a singly linked list?
- a) Finding the middle element
- b) Reversing the list
- c) Deleting a node at the head
- d) Inserting a node at the end
-
How do you detect a cycle in a linked list?
- a) Using a hash table
- b) Using two pointers (fast and slow)
- c) Sorting the list
- d) Recursion