TRIE
Root Word ending Internal node Query path
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Radix Trie Compression: From Trie to PATRICIA

This simulator builds a real character trie from a small word set and renders it as a 3D node-and-edge graph, then lets you compress it into a radix trie (PATRICIA trie) with one click — the exact node-merging algorithm real prefix indexes use to trade a node-per-character trie for a far more compact structure. Toggle between the expanded trie and the compressed radix trie to see the node count fall in real time, then type a prefix into the query box to watch it walk the live tree edge by edge, highlighting the matched path and every word it leads to, just as an autocomplete engine resolves a keystroke into suggestions.