Data structure supporting the following operations
- by 500865
I'm looking for a data structure for working with a set of data which is most efficient to do the following :
Check whether an item has been categorized or not. (The categorized and uncategorized set are disjoint sets).
Get the category of an item.
Get all the items in a particular category.
Get all the uncategorized items.
Remove a particular…