An algorithm will be used to identify the maximum value in a list of one or more integers. Consider the two versions of the algorithm below.
- Algorithm I: Set the value of a variable max to \(-1\). Iterate through the list of integer values. If a data value is greater than the value of the variable max, set max to the data value.
- Algorithm II: Set the value of a variable max to the first data value. Iterate through the remaining values in the list of integers. If a data value is greater than the value of the variable max, set max to the data value.
Which of the following statements best describes the behavior of the two algorithms?