Basic Data Structures and Algorithms in Python
This is a collection of snippets of basic data structures and algorithms written in Python. Most of the algorithms here come from this book but are re-written in a Python-specific manner.
Data Structures
Searching
Sorting
Trees
Graph
- Graph
- Prim's algorithm
- Dijikstra's algorithm (with adjacency list)
- Dijikstra's algorithm (with priority queue)