Assignment 1 For Java
Assignment 1 For Java
SABA ANWAR
Assignment-1
Assignment Date March 01, 2017
Note that this a nested class and in all methods of linked list where you need a node, you have
to define an object of this class and original object will passed to its constructor as a data part of
node with next and previous reference as null.
Things to be considered:
Do not print anything in both classes, just return appropriate values or throw exceptions where
needed.
Strictly no change in List and already defined things of both classes.
Properly comment your code.
You can define additional methods if needed, but make them private.
Array implementation
Linked List implementation
Make a table to report your result, where first column would list names of methods, and next two
columns would describe T(n) and Big-O for array implementation and remaining two would do the same
for linked list implementation.
Good luck
Submission:
Submit 3 java files from part-1 and 1 word document for part-2,
One txt file with name Task Distribution. Clearly divide the tasks and mention in this file which member
has done what.