Generate Binary String Leetcode Problems Javascript Interview