In this example, we prove that the minimum index of

[3,[2,[1,[]]]]

is 2.

First, we prove that the minimum value of

[3,[2,[1,[]]]]

is 1. Then we find the index of 1 in the same list. 1 is in index 2.

Quiz (1 point)

Prove that:
index of the mininum value in stack [ 3, [ 2, [ 1, [ ] ] ] ] = 2

The following properties may be helpful:

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.

Step Claim Reason (optional) Error Message (if any)
1
2
3
4
5
6
7
8
9
10

Become a subscriber to save your progress, see the correct answer, and more!