In this example, we prove that the minimum value of [3, [2, [1, []]]] is 1. We start with just the innermost element, which is 1. We know that the minimum of [1, []] is 1.

Next, we know that 2 is greater than the minimum of [1, []] since the minimum of [1, []] is 1 and 2 > 1. Then we conclude that the minimum of [2, [1, []]] is 1.

Using the same reasoning as above, we conclude that the minimum of [3, [2, [1, []]]] is 1.

Quiz (1 point)

Prove that:
minimum value of stack [ 3, [ 2, [ 1, [ ] ] ] ] = 1

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!