Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    \$\begingroup\$ If you input 101, this returns [[1,0,1],[10,1],[0,10,1],[1,1],[0,1,1],[101],[0,101]] while it should return [[101],[1,1],[10,1],[1,0,1]] \$\endgroup\$
    – ZaMoC
    Commented Nov 11, 2020 at 9:44
  • \$\begingroup\$ @J42161217 corrected it \$\endgroup\$
    – Razetime
    Commented Nov 11, 2020 at 9:49