LinkedList implwmwntation, programming homework help


Question Description

I need this within 30-60 minutes

Unformatted Attachment Preview

CS111-02 In-Lab assignment # 6 Date: 7/12/2017 (100 points) Problem 1: (90 points) Implement a generic class, clsLinkedList, that represents the ADT Singly Linked List. The Singly Linked List should have a dummy head node. The Class should also implement the interface List from the Java API. However, since the List interface contains a lot of methods, you need to implement only the following methods: A. B. C. D. E. F. G. H. ● add(E o) : which adds a new node without specifying location ● add(int intLocation, E element) : which adds a new node on a given location ● clear() : which truncates list ● contains(Object o) : finds a certain element (node) in the list ● get(int intLocation) : retrieves certain element in the list ● isEmpty() ● remove(int index) ● size() PS. For all other methods throw UsupportedOperationException. Documentation (10 points) Bonus (10 points): Use meaningful and descriptive variable names. Submit Summer 2017 CS111-02 Lab #6 Page 1 of 1 ...
Purchase answer to see full attachment

Tutor Answer

School: New York University


flag Report DMCA

The tutor was pretty knowledgeable, efficient and polite. Great service!

Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Just what I needed… fantastic!

Similar Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors