Puzzle 11: Stacking Boxes

Let’s solve this stacks and heaps puzzle in Rust.

We'll cover the following

Guess the output

Before moving on to the explanation, try to guess the output of the following program. Good luck!

Get hands-on with 1400+ tech skills courses.