Question: iven the IntNode class, define the findMax() method in the CustomLinkedList class that returns the largest value in the list or returns -99 if he


iven the IntNode class, define the findMax() method in the CustomLinkedList class that returns the largest value in the list or returns -99 if he list is empty. Assume all values in the list are non-negative. x: If the list contains: head14191186181 ndMax(headObj) returns 191. x : If the list contains: head > ndMax(headObj) returns -99. \begin{tabular}{l|l} LAB & 2.12.1: LAB: Find max in list \end{tabular} 0/10 Current file: CustomLinkedList.java = Load default template... File is marked as read only Current file: IntNode.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
