Question: 1 4 . 1 5 LAB: Find max in list Given the IntNode class, define the FindMax ( ) function to return the largest value
LAB: Find max in list
Given the IntNode class, define the FindMax function to return the largest value in the list or if the list is empty. Assume all values in
the list are nonnegative.
Ex: If the list contains:
head
FindMaxheadNode returns
Ex: If the list contains:
head
Find MaxheadNode returns
LAB
ACTIVITY
: LAB: Find max in list
main.cpp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
