It is convenient for me to use a set. I like how I can \"add\" (\"remove\") an element to (from) t开发者_开发知识库he set. It is also convenient to check if a given element is in the set.