Leetcode Set Theory And Logic