Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am not sure if this is "state of the art" but take a look at this paper Efficient subset and superset queries. Basicallly you use a bitset to represent a set, and add it to a binary trie.
I am not sure if this is "state of the art" but take a look at this paper Efficient subset and superset queries. Basicallly you use a bitset to represent a set, and add it to a binary trie.
I am not sure if this is "state of the art" but take a look at this paper Efficient subset and superset queries. Basicallly you use a bitset to represent a set, and add it to a binary trie.