How to find the index inside an array which contains min value?

There are nodes ‘max of int array’, ‘min of int array’…