[Solved] Implementing a Doubly Linked List

$25

File Name: Implementing_a_Doubly_Linked_List.zip
File Size: 310.86 KB

SKU: [Solved] Implementing a Doubly Linked List Category: Tag:
5/5 - (1 vote)

5/5 – (4 votes)

Modify the class Linked List in Exercise 1 to make it a Doubly Linked List. Name your class DoublyLinkedList. Add a method addEndto add an integer at the end of the list and a method displayInReverse to print the list backwards.

void addEnd(int x): create this method to add x to the end of the list.

void displayInReverse(): create this method to display the list elements from the last item to the first one.

Create a main() function to test your DoublyLinkedList class.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Implementing a Doubly Linked List
$25