Organizing Containers of Balls

  • + 48 comments

    I think a little simpler to explain is:

    1) Make a table of box totals (capacity of each box)
    2) Make a table of ball totals (total quantity of each ball type)
    3) Sort both tables
    4) If they are identical print Possible, otherwise print Impossible