Project: lb_pathfinder
JavaScript·1 min read·Apr 22, 2025

A weighted graph is a data structure that represents a collection of nodes (e.g., cities) connected by edges (e.g., roads) that have a numerical value called a weight (e.g., distance). They are mostly used for pathfinding and optimization in various fields, including navigation, logistics, finance, and so on.
The objective of this project is to write a JavaScript script that finds the shortest travel itinerary between two interconnected cities.
General instructions
Here are the general instructions to complete this project:
-
The script must be named
lb_pathfinder.js. -
The script must be written in JavaScript.
Implementation
Here are the implementation details for this project:
Unlock the program 🚀
Pay once, own it forever.
€79
30-day money-back guarantee
- 13 modules
- 113 lessons with full-code examples
- 29 projects with commented solutions
- All future lesson and project updates
- Lifetime access
By submitting this form, you agree to the Terms & Conditions and Privacy Policy.