Note that priority queue won't return highest priority item if it isn't updated as distances are updated.
Learneroo
Oct 1, 9:09 PMNote that priority queue won't return highest priority item if it isn't updated as distances are updated.