Generate Binary Numbers Leetcode 1509