SPFA

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Nov 2 6:33
Editor
Edited
Edited
2023 Nov 2 6:34
Refs
Refs

Shortest Path Faster Algorithm

Simpler than
Dijkstra Algorithm
and much faster for some cases
  • Use a FIFO Queue.
  • Enqueue if not exist
 
 
 
 
 
 
 
 

Recommendations