Just come in on this conversation, here's my take on it.
First method: First ball can go into any of the three boxes, second ball can go into any of the three boxes etc, total number of arrangements is 3*3*3*3*3*3 = 729.
Second method: All six b***s could go into a single box, or they could be split five in one box and one in another, or they could be split 4 - 2 - 0, or 4 -1 -1 and so on, seven possible splits.
The number of possibilities for each split as follows.
6 - 0 - 0: 3 ways of doing this, (the 6 can be in any one of the three boxes).
5 - 1 - 0: 36 ways. There are 6 possible orders for the 5-1-0, and 6 possible choices for the odd ball.
4 - 2 - 0: 90 ways. Again 6 possible orders and 6C2=15 choices for the 2.
4 - 1 - 1: 90 ways. 6 possible orders, (3 possibilities for the 4, but double this because the two 1's are different), then 6C4=15 choices for the 4.
3 - 3 - 0: 60 ways. 3 possible orders (positions for the 0), and 6C3=20 choices for either 3.
3 - 2 - 1: 360 ways. 6 possible orders, 6 choices for the 1 and 5C2=10 coices for the 2 or 3.
2 - 2 - 2: 90 ways. 6C2=15 choices for the first 2, 4C2=6 choices for the second 2.
Total = 3 + 36 + 90 + 90 + 60 + 360 + 90 = 729.