Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

The task in this project was to get comfortable with the linked list data structure. By the end, we were iterating thru linked lists, converting them to other data structures like ArrayLists and 2d arrays, and inputting and outputting from the linked list. It was helpful to use a linked list in the background with other data structures in the front because it allowed us to put the visualizeable part of the data, that is the data that kept within certain bounds, in an array while all of the data resided in a linked list. I thought the cool part of this assignment was turning the linkedlist into an Arraylist using an iterator subclass, and then turning that ArrayList into a 2d array that could in turn be converted into a string for printing. Four different kinds of data, each with their own advantages and drawbacks, but all occupying a niche in the overall algorithm.