Minimum Index Of A List
index of the mininum value in stack els = index of value (minimum value of stack els) in els
This property says that to compute the minimum index, we first compute the minimum value of the list, and then find the index of that value in the list.
Examples
index of the mininum value in stack [ 3, [ 2, [ 1, [ ] ] ] ] = index of value (minimum value of stack [ 3, [ 2, [ 1, [ ] ] ] ]) in [ 3, [ 2, [ 1, [ ] ] ] ]
index of the mininum value in stack [ 420, [ 340, [ 280, [ 160, [ 320, [ ] ] ] ] ] ] = index of value (minimum value of stack [ 420, [ 340, [ 280, [ 160, [ 320, [ ] ] ] ] ] ]) in [ 420, [ 340, [ 280, [ 160, [ 320, [ ] ] ] ] ] ]
index of the mininum value in stack [ 23, [ 7, [ 47, [ 3, [ ] ] ] ] ] = index of value (minimum value of stack [ 23, [ 7, [ 47, [ 3, [ ] ] ] ] ]) in [ 23, [ 7, [ 47, [ 3, [ ] ] ] ] ]
What is the minimum value of the following list?
[ 420, [ 340, [ 280, [ 160, [ 320, [ ] ] ] ] ] ]
What is the minimum index of the following list?
[ 420, [ 340, [ 280, [ 160, [ 320, [ ] ] ] ] ] ]
Comments
Please log in to add comments