Skip to content

Instantly share code, notes, and snippets.

View pun-ky's full-sized avatar

Krystian Panek pun-ky

View GitHub Profile
@pun-ky
pun-ky / dijkstra.kt
Last active November 11, 2021 22:14
Dijkstra - Finding Shortest Path
/*
https://www.youtube.com/watch?v=EFg3u_E6eHU
Found path:
A -> C -> E -> B
Graph:
[A(0), B(6), C(3), D(7), E(4), F(2), G(7)]
*/