What are the lesser known but useful data structures?
stackoverflow.com
What are the lesser known but useful data structures?
1–10 of 82 posts
Re: What are the lesser known but useful data structures?
#2Re: What are the lesser known but useful data structures?
#3http://en.wikipedia.org/wiki/Bloom_filter http://en.wikipedia.org/wiki/Count%E2%80%93min_sketch
Re: What are the lesser known but useful data structures?
#4It goes against the intent of the original question, but iIt's almost ideally designed to make you feel good--you get the rush of knowledge then nerd sniped as you head to wikipedia.
Re: What are the lesser known but useful data structures?
#5http://arxiv.org/pdf/cs/0701164.pdf
Currently I use this for indexing ~11 billion gamma ray events. Researchers typically supply a region in the sky, a search radius, and some cuts (energy, event quality, etc...)
Re: What are the lesser known but useful data structures?
#6These can be very useful for certain applications. The article on "Cramming 80,000 Words into a JavaScript File"[2] is a nice example. It shows you how you can store a compressed trie in memory but still use it. I also like this[3] series of blog posts leading up to wavelet trees.
These certainly count as obscure data structures, unlike many of the ones listed on SO. I had never even considered the idea of compressing data in memory like this, much less encountered actual examples of succinct data structures! I have to thank Edward Kmett for introducing me to the whole field.
These data structures are important not just because they're neat themselves, but because they got me to think a new way. In particular, I realized that using pointers all over the place--to represent things like trees--is not always efficient. Instead of parsing data, it might be better to store it as a blob of some sort with a binary index. Just starting to consider details like that is valuable all on its own.
[1]: http://en.wikipedia.org/wiki/Succinct_data_structure
[2]: http://stevehanov.ca/blog/index.php/?id=120
[3]: http://alexbowe.com/rrr/ and http://alexbowe.com/wavelet-trees/
Re: What are the lesser known but useful data structures?
#7Re: What are the lesser known but useful data structures?
#8Looking at these lists, I strongly suspect that people upvote based on whether they personally recognize the data structure. It goes against the intent of the original question, but iIt's almost ideally designed to make you feel good--you get the rush of knowledge then nerd sniped as you head to wikipedia.
Re: What are the lesser known but useful data structures?
#9Re: What are the lesser known but useful data structures?
#10Yet it's one of the best questions on SO. Something's very wrong with SO if this isn't considered a good, on-topic question for a programming Q&A site.