Conversation

I ❤️ data structures. I especially love learning about real world use cases of data structures. What’s your favorite data structure (bonus if it’s something you’ve coded in real life to solve a fun problem). 😀
65
441
Replying to
Probably a level-compressed suffix trie. It's so versatile. Implemented it a few times for CIDR matching in routing or ACL tables. Then used it for string matching - often faster than a hash table! Reverse a domain and you can use one for efficient SSL or DNS wildcards.
4
62