Small Python Challenge No. 4 – Counting Sets

This is a problem that I encountered a short while ago. It seems like it could be easily solved very efficiently, but it’s not as easy as it looks. Let’s say that we are given N (finite) sets of integers – S. For now we won’t assume anything about them. We are also given another … Continue reading Small Python Challenge No. 4 – Counting Sets