Problem: Please find the problem here. Solution: This is rather straightforward. By making the input sets hash tables, we can do these set operations fast. Code: