← Back to questions
Guided practice

2014 Q3(f)

Past Exam QuestionNetwork Layer / IP· Dijkstra· 5 marks

Dijkstra’s algorithm can be implemented in two different ways, one of which has a complexity of O(n2) and one of which has a complexity of O(n log n). Choose one of the implementations and briefly justify its complexity.

Try an answer before revealing the guidance below.


Shortcuts: K concepts · A approach · F answer · R reviewed · B bookmark · ← / → previous / next