Generate Binary Numbers Leetcode Rating