Introduction
Sets and sorted sets help you keep track of groups of items. You use them to check if something is part of a group quickly.
You want to store a list of unique items and check if an item is in that list.
You need to keep items in order by a score and check if an item is in the list.
You want to count how many items are in a group.
You want to get items sorted by a number like a score or time.
You want to add or remove items from a group easily.