Ad
  • Custom User Avatar

    Nevermind: "There are always enough spaces for nuts to fall between branches"

  • Custom User Avatar

    This is similar to my solution, but I don't think modifying the nuts array in place works. What if the tree contains consecutive "\" on one level? The way I it, the nuts will be pushed to the right more than expected. Is there a way to add unit tests for all solutions?