data-structures

3 articles
sort: new top best
clear filter
0 1/10

An interactive educational article demonstrating Ukkonen's suffix tree construction algorithm through browser-based visualization, allowing step-by-step observation of tree building, suffix links, and pattern searching with concrete examples.

Ukkonen D3.js JavaScript Introduction to Algorithms
abahgat.com · gsky · 6 days ago · details · hn
0 3/10

A technical guide on converting recursive algorithms into iterative implementations using explicit call stack simulation via mutable data structures, with examples covering linked lists, binary trees, and mutually-recursive structures in TypeScript.

Joseph Junker TypeScript Node.js JavaScript
jnkr.tech · gsky · 6 days ago · details · hn
0 2/10

This article explains thinnings as witness data structures that prove one list is a sublist of another, representing order-preserving mappings between lists as boolean vectors or bitvectors. The author demonstrates how thinnings encode de Bruijn index shift operations and can be composed as morphisms in a category, with practical implementations in Python and Prolog.

Conor McBride Philip Zucker Chris Warbo Agda Python Prolog Scryer Prolog maturin
philipzucker.com · matt_d · 7 days ago · details · hn