Christopher Sardegna · @css
12 followers · 17 posts · Server mas.to

Easy, bad in :

`trie_struct: Callable = lambda: defaultdict(trie_struct)`

To work properly it’ll need a real terminator (maybe `trie.setdefault(None)`). This “implementation” only works if there are no words that substring other words.

#Python #trie

Last updated 3 years ago

Christopher Sardegna · @css
15 followers · 36 posts · Server mas.to

Easy, bad in :

`trie_struct: Callable = lambda: defaultdict(trie_struct)`

To work properly it’ll need a real terminator (maybe `trie.setdefault(None)`). This “implementation” only works if there are no words that substring other words.

#Python #trie

Last updated 3 years ago

Je sais pas comment vous faites, mais moi j'ai trouvé le soft le plus laid et le plus efficace pour trier mes photos de tél : Amok Exif Sorter

amok.am/en/freeware/amok_exif_

#sort #trie #linux #photos #appimage #popopo

Last updated 3 years ago

Ivan Sagalaev :flag_wbw: · @isagalaev
516 followers · 5906 posts · Server mastodon.social

A code readability exercise implementing in

softwaremaniacs.org/blog/2022/

#trie #python

Last updated 3 years ago

Dan · @danhan01010
1 followers · 6 posts · Server mas.to

I used a Trie data structure to solve today’s problem of the day. I have never used a data structure in my real job. I wonder what sort of jobs may regularly use the trie data structure.

#trie #leetcode

Last updated 3 years ago

Papers We Love · @paperswelove
396 followers · 160 posts · Server mstdn.io

Generalizing generalized tries - Hinze

Link: buff.ly/2ussBTm

#datastructure #trie #search #datatypes

Last updated 9 years ago