Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

Weighted graph

Also written: weighted

A graph whose edges carry numbers, such as the driving minutes on each road of Alex's map.

Where the book teaches it

Related terms

Shortest pathAdjacency listDijkstra's algorithm