Advanced Algorithms — Interactive Companions
Interactive visualizations for the Advanced Algorithms course at the University of Udine.
Each notebook lets you step through classic algorithms with sliders and custom inputs — all running directly in your browser via Pyodide, no installation required.
Notebooks
Chapter 1 — String Matching
- Naive String Matching — Step through every alignment of P against T
- KMP — Failure function (sp values) and search with fallback arrows
- Z-Algorithm — Z-array computation with Z-box reuse
- Boyer-Moore — Right-to-left scanning with bad character rule
- Suffix Trie & Suffix Tree — Build and visualize suffix structures
- Algorithm Comparison — Side-by-side character comparison counts
- Keyword Tree — Multiple pattern matching: tree builder and search visualization