We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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
Organizing Containers of Balls
You are viewing a single comment's thread. Return to all 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