[https://leetcode.com/problems/number-of-black-blocks](https://leetcode.com/problems/number-of-black-blocks)