Skip to content

lh00000000/smol-trie-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

smol trie py

it's a smol (28 lines) pure python trie / prefix tree implementation

example

>>> t = {} # use a regular dict
>>> add(t, 'muri')
>>> add(t, 'muda')
>>> add(t, 'mura')
>>> print(*items(at(t, 'mu')))
muri mura muda

About

a v smol trie implementation in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages