What technique can a programmer use when he is trying to find the minimum or maximum value in an array?
What will be an ideal response?
The “trick” a programmer can use when he or she is trying to find the minimum or maximum value in an array is to set the first value of the array to the minimum or maximum value and use this min or max as the comparison value.
Computer Science & Information Technology