Rosetta Problems

Count Artifacts That Can Be Extracted

https://leetcode.com/problems/count-artifacts-that-can-be-extracted