Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Can anyone suggest if using multi dimensional arrays would be a good idea?

_
_ginevra_ (620 points)
0 11 15
in HW2 required by (620 points)
reshown by
To represent the number of used letters by each player at each hand and the remaining total number of letters would using a multi-dimensional array be useful?
174 views

1 Answer

d
davide.marincione (1380 points)
0 5 14
by (1.4k points)
Yes of course but, if you are not doing any type of modifications to the elements, it may even be better to use tuples instead of arrays/lists. See, tuples are faster and require less bytes to store because they are supposed to be immutable.