Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coddy

Dijkstra's Algorithm - Graph Algorithms

via Coddy

Overview

Master Dijkstra's Algorithm, the greedy single-source shortest-path method for graphs with non-negative weights. Read weighted edges, build the full distance computation in your language of choice, and answer point-to-point and farthest-vertex queries.

Prerequisites:

  • Knowledge of a programming language of your choice.
  • Familiarity with basic graph traversal (BFS/DFS).

Syllabus

Introduction

  • Motivation

The Algorithm

  • How it works?
  • Pseudo Code
  • Implementation (Part 1)
  • Implementation (Part 2)
  • Time and Space Complexity

Final Challenges

  • Final Challenge #1
  • Final Challenge #2

Reviews

Start your review of Dijkstra's Algorithm - Graph Algorithms

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.