Rosetta Problems

The Number of Beautiful Subsets

https://leetcode.com/problems/the-number-of-beautiful-subsets