Skip to main content

Section 5.6 Exercises

Subsection 5.6.1 Linked Lists Vs Array Lists Exercise 1

The assignment is to log the performance of insertion/deletion operations on ArrayLists and LinkedLists. Complete each unfinished function that has a TODO comment. Please provide comments on how your code works. Here is the main file: main.java 1 
This project uses the built in ArrayList and LinkedList classes in Java.
You can refer to the ArrayList docs: Here 2 
You can refer to the LinkedList docs: Here 3 

Subsection 5.6.2 Linked Lists Vs Array Lists Exercise 2

Please download this word document: Data_Structure_Operations.docx 4 
Fill out each cell with the BigO worst case runtime complexity of each operation for the given data structure. Also, write a couple sentences describing why each operation is the runtime you have choosen.
You have attempted of activities on this page.
uncc.instructure.com/courses/16965/files/21470870?wrap=1
docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html
docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html
uncc.instructure.com/courses/16965/files/21470628?wrap=1