Indexed ArrayList: 00:00:13.129 Indexed LinkedList: 00:09:51.512 Iterated ArrayList: 00:00:13.054 Iterated LinkedList: 00:00:17.147## Results and Discussion Your submission must include: * Benchmarking results for: * [balloon.dot](balloon.dot) with $100$ desired dots * [balloon.dot](balloon.dot) with $1000$ desired dots * [skull.dot](skull.dot) with $9000$ desired dots * Asymptotic time analysis for four of the following eight situations (do the first four if your last name begins with a letter in the first half of the alphabet, otherwise do the last four), assuming $n$ is the number of points in the original list. Your justification can be written sentences explaining the basis for your answer and/or equations expressing $T(n)$ * If your last name begins with a letter in the first half of the alphabet do these: * `removeDots()` when using an `ArrayList` with $n - 1$ desired dots. * `removeDots()` when using an `ArrayList` with $3$ desired dots. * `removeDots()` when using a `LinkedList` with $n - 1$ desired dots. * `removeDots()` when using a `LinkedList` with $3$ desired dots. * If your last name begins with a letter in the last half of the alphabet do these: * `removeDots2()` when using an `ArrayList` with $n - 1$ desired dots. * `removeDots2()` when using an `ArrayList` with $3$ desired dots. * `removeDots2()` when using a `LinkedList` with $n - 1$ desired dots. * `removeDots2()` when using a `LinkedList` with $3$ desired dots. * Your analysis must include a discussion justifying the $O( ? )$ answer for each scenerio. ## Just For Fun Ambitious students may wish to: * Just for Fun suggestions from labs 1 and 2 * Benchmark lecture/homework implementations of the `ArrayList` and `LinkedList` * Create a print to PDF option. * Overlay the reduced-dot picture on top of the picture with all the dots in the file. You may wish to display the original picture in a lighter color. * Create an interactive game where the user can draw lines between the dots, but only if they select the dots in the right order. * Create a custom binary file format to store pictures. ## Lab Deliverables > See your professor's instructions for details on submission guidelines and due dates. > * Dr. Taylor's students: See below > * All other students should refer to Blackboard > > If you have any questions, consult your instructor. ## Acknowledgment This laboratory assignment was developed by [Dr. Chris Taylor](/taylor/).
Lab
3
Get started now
Tuesday, 12-Mar-2019 08:07:37 EDT