結果 : generate binary numbers from 1 to n using a queue leetcode