Carrying out these experiments will help to provide insights into the topics covered in the chapter. No programming is involved.
Modify main() in the linkList. java program (Listing 5.1) so that it continuously inserts links into the list until memory is exhausted. After each 1,000 items, have it display the number of items inserted so far. This way, you can learn approximately how many links a list can hold in your particular machine. (Of course, the number will vary depending on what other programs are in memory and many other factors.) Don’t try this experiment if it will crash your institution’s network.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.