ear in Mind

A blog about AI, programming, computer science, teaching and lots more...

Python libraries: heapq

This is Episode 1 of a journey through some not-so-often-used python modules. We start with heapq and see what we can use it for.
7 min read
PythonAlgorithmsHeap

Understanding the Dijkstra Algorithm in Python

A gentle introduction to Dijkstra algorithm for computing shortest paths on weighted graphs. We'll explore the intuition, the data structures behind it, and a clean Python implementation.
5 min read
AlgorithmsGraph TheoryPython