Skyscrapers technique · Easy
Height Limit
A Skyscrapers height limit is the tallest building a clue allows in a cell near it. Beside a clue of k on an N×N grid the cell holds at most N − k + 1, and each cell further along the line may be one taller. It is the first step that removes candidates instead of placing a height, and the last step an Easy grid can need.
Published
Why It Works
Put a building of height h somewhere in a line and ask how many buildings the clue could then see. In front of it are d cells, and at best all d show. The building itself may show. Behind it, only buildings taller than h can show, and there are N − h of those. So the clue sees at most d + 1 + (N − h) buildings.
A clue of k needs that total to reach k, which gives h ≤ N − k + 1 + d. In the cell next to the clue d is 0, so the cap is N − k + 1. One cell in, it is N − k + 2, and so on until the cap reaches N and stops mattering. On a 5×5 a clue of 4 allows at most 2 in the first cell, 3 in the second and 4 in the third.
Worked Example on a Medium 5×5
This 5×5 was produced by the daily generator. Five hints have placed a 5 in every row, and the next nine are all Height Limits. Take the 4 left of row 4. Nothing stands in front of row 4 column 1, so it can be at most 2, and one building at most stands in front of row 4 column 2, so that cell can be at most 3. The 4 below column 1 caps row 5 column 1 at 2 in the same way, which is tighter than the cap of 3 that the 3 left of row 5 gives the same cell.
Worked Example: the Caps Leave One Home
Caps rarely place a height themselves. They empty cells until a single appears. Three of the clues above this grid are 3s, over columns 2, 4 and 5, and each keeps the 4 out of the top cell of its column. Row 1 already has its 5 in column 3, so after those three caps the 4 of row 1 has one cell left: row 1 column 1. That placement is a Hidden Single, the fifteenth hint, and it is the first height the grid gains after the 5s.
How to Apply It Quickly
Work round the edge once and write the cap into the first cell or two of every clued line. You only need the small subtraction for the nearest cell; each cell after it gets one more. A clue of 1 caps nothing, and a clue of 2 only keeps the tallest height out of the nearest cell. The clues worth your attention are the large ones, because a clue one short of the grid size caps almost the whole line.
Then read each cap against the one coming from the other direction. A corner cell sits beside two clues and takes the smaller cap, as row 5 column 1 did above. A cell in the middle of a line can be capped from both ends of its row and both ends of its column, and the tightest of the four is the one that counts.
Common Mistakes
Counting the distance from the wrong end. The cap belongs to the clue's own side: the nearest cell is the one touching that clue.
Treating the cap as the answer. A cap of 3 means 1, 2 or 3; it places nothing until the row or column narrows it further.
Skipping a clue because its line already has the tallest building. The cap still applies to every cell in front of that building.
Frequently Asked Questions
What is a height limit in Skyscrapers?
It is the largest height a clue permits in a cell. For a clue of k on an N×N grid the nearest cell is at most N − k + 1 and each cell beyond it one more, because a taller building there would hide too many others.
Does a clue of 2 limit any heights?
Only one. A clue of 2 keeps the tallest height out of the cell next to it, since a tallest building there would be the only one visible. Every other cell of the line keeps all its candidates.
Do easy Skyscrapers puzzles need height limits?
About two in three do. Of the 148 Easy 4×4 grids our generator made for a 520-day batch, 97 needed at least one Skyscrapers height limit, and all 222 Medium 5×5 grids did, a median of eight times each.
Sources
- Simon Tatham's puzzles: towers.c: the same rule in its Easy solver: the largest number cannot occur in the first clue − 1 squares, the next largest in the first clue − 2
- Conceptis: Skyscrapers techniques: a clue of 4 on a 5×5 leaving the 5 only the two furthest squares
- How PencilGrid puzzles are made: where the 520-day counts quoted here come from
Sources last checked on 2026-11-15.
Written and checked by the maker of PencilGrid, a puzzle enthusiast and software engineer who also builds the generator and solver behind every grid on the site.
Every technique on this page is one the site's solver actually uses: puzzles are generated offline, checked for a single solution, and graded by the hardest step they need. How PencilGrid puzzles are made →
More Skyscrapers Pages
Related puzzles: Futoshiki · Mini Sudoku · Sudoku