← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Merkle Tree PHP 7.0+
A binary tree where each non-leaf node holds the hash of its children, enabling efficient verification that data is intact and untampered.
2w ago Data Structures advanced
Fenwick Tree (Binary Indexed Tree) PHP 7.4+ 🧠 1
A compact array-backed structure giving O(log n) prefix-sum queries and O(log n) point updates with minimal code and memory overhead.
1mo ago Data Structures advanced
B-Trees & B+ Trees
Self-balancing tree structures used in database indexes — each node holds multiple keys, keeping the tree shallow and minimising disk I/O for range queries.
3mo ago Data Structures advanced
Disjoint Set / Union-Find
A data structure tracking which elements belong to the same group — supporting near-O(1) union and find operations. Used for network connectivity, Kruskal's MST, and cycle detection.
3mo ago Data Structures advanced
Segment Trees
A tree data structure for O(log n) range queries and point updates — supporting sum, min, max over arbitrary array ranges.
3mo ago Data Structures advanced
Skip Lists
A probabilistic data structure providing O(log n) search, insert, and delete — used internally in Redis sorted sets for ZADD/ZRANGE operations.
3mo ago Data Structures advanced
Sparse Matrix Representations
COO, CSR, and DOK formats efficiently store matrices where most values are zero — avoiding storing terabytes of zeros for recommendation systems and graphs.
3mo ago Data Structures advanced
Tries (Prefix Trees) PHP 5.0+
A tree where each path from root to node spells a prefix — enabling O(m) insert, lookup, and prefix search where m is the string length, regardless of dictionary size.
3mo ago Data Structures advanced
Diagram: Bloom Filter Bloom Filter PHP 7.0+
A probabilistic data structure that tests set membership in O(1) time and O(1) space, with a tunable false-positive rate and zero false negatives.
3mo ago Data Structures advanced
Diagram: LRU Cache LRU Cache
A fixed-size cache that evicts the Least Recently Used entry when full, implemented with a hash map and doubly linked list for O(1) get and put.
3mo ago Data Structures advanced
✓ schema.org compliant