For example, in the previous diagram, we have a stack with three items; therefore, the length of the internal array is 3. The last position used in the internal array is 2. As a result, the
length - 1 (3 - 1) is 2!
- 3. Stacks
- Publisher: Packt Publishing
- Released: June 2016
Shouldn't it be  100,  72 and  81???