My question is, for inserting ( "Dave", 23)
How I can let the computer knows this items should be place in Bucket #10?
Any algorithm can do it?
thanks for advise.
Here is my expected output:
Bucket #0 contains: [Carol,29]
Bucket #1 contains:
Bucket #2 contains: [Fred,45]
Bucket #3 contains...
I am going to write an enumerated type that identifies the suit of the jail cell. However, it should be from another class - Card.
I tried to code it like that
Code:
enum card::suit; //an enumerated type (located in the Card ADT) that identifies the suit of the jail cell
I think it is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.