Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Very New Beginner !! 1. Problem 1 Write a method in the LList class that finds t

ID: 3705800 • Letter: V

Question

Very New Beginner !!

1. Problem 1 Write a method in the LList class that finds the first occurrence of a given value in a linked list and if found, returns it’s position in the list, otherwise returns ‘0’. The value should be a parameter of the method (of the generic type T). Include testing of the method in the main method of the LList class.

2. Problem 2 Write a method in the DoublyLList class that deletes the first item containing a given value from a doubly linked list. The method returns true if such an item is found and deleted, otherwise - false. The value should be a parameter of the method (of the generic type T). Include testing of the method in the main method of the DoublyLList class.

3. Problem 3 Create a list of prices for a customer shopping list as a singly linked list of numbers (values of type Double). Then perform the following operations: a. Find and print the lowest price in the list. b. Find and print the highest price in the list. c. Print the total value of the items in the shopping list.

Explanation / Answer

Hi Dear,

Question is long.

I have answered Q1. Please post others in separate post.

I have tested , its working fine.

Output:

Created Linked list is:
6 7 1 4 8
Searching 9
0

Please DONT forgot to rate my answer. We are working hard for you Guys!!