Quiz (1 point)
Prove that:
index of the maximum value in stack [ 2, [ 1, [ ] ] ] = 0
The following properties may be helpful:
- index of the maximum value in stack els = index of value (maximum value in stack els) in els
- maximum value in stack [ 2, [ 1, [ ] ] ] = 2
- index of value 2 in [ 2, [ 1, [ ] ] ] = 0
if maximum value in stack [ 2, [ 1, [ ] ] ] = 2, then index of value (maximum value in stack [ 2, [ 1, [ ] ] ]) in [ 2, [ 1, [ ] ] ] = index of value 2 in [ 2, [ 1, [ ] ] ]
if the following are true:
- a = b
- b = c
- c = d
then a = d
Please write your proof in the table below. Each row should contain one claim. The last claim is the statement that you are trying to prove.