Skip to content

anshulpundir/datastructures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datastructures

Trie (trie.h): A trie or a prefix tree with a character key and generic value.

ExpireMap (expire_map.h) Allows adding of a <key, value> pair and the lookup/removal of a key just like a regular map with an added feature of removal of an entry after a timout, if not explicitly removed. The access to the map is thread-safe.Insert, lookup and remove are O(1) operations. The removal of timed-out entries happens in the background on separate thread. This take O(log(n)) per entry.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages