Data structure to represent a shopping cart
What would be the correct data structure to use to represent a shopping
cart contents?
Linked list
Array
Array List
Something else
Im not thinking in terms of what is the most convenient i.e. just use an
array, but more in terms of what is most correct.
No comments:
Post a Comment