Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Special Operations
• Detect Cycle
Which well-known algorithm is commonly used to detect a cycle in a linked list?
A
Dijkstra's Algorithm
B
Floyd's Cycle Detection Algorithm (slow and fast pointers)
C
Kruskal's Algorithm
D
KMP Algorithm