Case: Stairs
Clue of
Examples
| 5 |
| 5 | ||||||
| 4 | ||||||
| 3 | ||||||
| 2 | ||||||
| 1 | ||||||
| 5 |
Explanation
An -clue means we can see skyscrapers, so all the skyscrapers are visible. The only ordering that achieves this is where all the skyscrapers are in ascending order.
Any other ordering, and we wouldn’t be able to see all the skyscrapers – we’d have a taller one blocking a shorter one behind it!