can we modify the routine to take index, max variables as it is ( without subtracting -1) and adjust the conditions inside the routine ( by removing = in the <= )?
can we modify the routine to take index, max variables as it is ( without subtracting -1) and adjust the conditions inside the routine ( by removing = in the <= )?