Try this exercise. Click the correct answer from the options.
Which algorithm can be used to detect a loop in a linked list?
Click the option that best answers the question.
- Floyd's Cycle-Finding Algorithm
- Binary Search
- Depth-First Search
- Breadth-First Search