The Number of Beautiful Subsets

The Number of Beautiful Subsets - Coding Problem | K5kC