Skyscraper Sudoku 5×5
Digits are towers; clues count what you can see.
Also known as Skyscrapers, Towers.
How to play Skyscraper Sudoku 5×5
- Fill every empty cell with a digit from 1 to 5.
- Each row and each column must contain all five digits exactly once. This board has no boxes.
- Read each digit as a tower of that height. The number outside a row or column is how many towers are visible from that side — a taller tower hides every shorter one behind it.
Where to start
A 1 outside a row puts the 5 nearest that edge, hiding the rest; a 5 means the row climbs 1, 2, 3, 4, 5 away from it.
Skyscraper sudoku is a small puzzle with a big idea: each digit is the height of a building. The board is 5×5, every row and column holds the digits 1 to 5 once, and there are no boxes. Instead, numbers around the edge tell you how many buildings you could see if you stood there and looked along the row or column. Many puzzles start with an empty grid, and the rest with only a digit or two, so nearly all the information is in those edge numbers.
The rules, in full
- Every row and every column holds 1 to 5 exactly once. There are no boxes.
- Each digit is a tower of that height. A 5 is the tallest tower; a 1 is the shortest.
- An edge clue counts the towers visible from that side. Standing at the clue and looking along the line, you can see a tower only if it's taller than every tower in front of it. A taller tower hides every shorter one behind it.
Take a row reading 2, 5, 1, 4, 3 from left to right. From the left, you see the 2, then the 5, which hides everything else: 2 towers visible. From the right, you see the 3, then the 4, then the 5: 3 towers visible. So that row would have a 2 on its left and a 3 on its right.
A few facts follow straight from the rules, and they're worth keeping in mind:
- The 5 is always visible from both ends. Nothing can hide it.
- The tower nearest a clue is always visible. So a clue is never 0.
- The two clues of a line add up to 6 at most. The 5 is seen from both sides, and every other visible tower is on one side of it or the other. A row with a 4 on one side can have at most a 2 on the other.
Where to start
The clues at the extremes say the most, so start there.
- A clue of 1. Only one tower is visible, so the nearest tower must be the 5, and it hides the rest.
- A clue of 5. All five towers are visible, so each must be taller than the last: 1, 2, 3, 4, 5 going away from the clue.
Both are on the edge clues page, with examples. After them, place each line's 5. A clue of k means the 5 can't stand in the k-1 cells nearest that clue, because k-1 shorter towers must stand in front of it. Placing the tallest tower explains how far that reasoning goes. Once a few 5s are fixed, the 4s are next: with the 5 placed, the 4 is the tallest of what's left on each side of it.
The techniques, in order
The app grades skyscraper puzzles with four techniques of its own, plus the naked singles and hidden singles every sudoku uses. In the order the grader tries them:
- Edge clue. A 1 puts the 5 next to the clue.
- Full run. A 5 makes the line 1, 2, 3, 4, 5.
- Max-position bound. A clue of k keeps the 5 out of the k-1 nearest cells.
- Visibility check. List every ordering of the line that its candidates allow, keep the ones that match the clue, and remove any candidate that none of them uses. This is the general method, and it is on its own page: checking every ordering.
The first three are shortcuts. The fourth is what they are shortcuts of: every deduction a clue allows can be found by trying the orderings. It's slower, so you use it when the shortcuts run out.
Why every puzzle is Expert
Every skyscraper puzzle here is graded Expert. That sounds harder than it is. The grade comes from the hardest technique a puzzle needs, and checking orderings by hand is graded as the hardest technique in the app, because it is open-ended in a way that singles and pairs are not. Every skyscraper needs it at least once.
But the board is small. A line has five cells, and once two or three are known there are only a handful of orderings left to try. An expert skyscraper takes a few minutes, not an hour. If you're new to the variant, it's a good puzzle to learn on precisely because it's short. Saturday's daily puzzle is a skyscraper.
Habits that help
- Write the 5s first, then the 4s. Each line's 5 and 4 decide most of what its clues can see.
- Read each line from both ends. A row with a 2 on one side and a 3 on the other is far more constrained than either clue alone.
- Use the low clues to find the 5, the high clues to find the order. A 1 or a 2 is about where the tallest tower is. A 4 or a 5 is about how the short towers line up in front of it.
- When stuck, pick the line with the fewest candidates and try its orderings. That's the visibility check, and it's the method of last resort for a reason: it always works.
Related variants
Windowed sudoku also puts clues around the edge, but they are sums of the three nearest cells rather than counts of what you can see. If you like reasoning about a line from its ends, it's the closest thing on the site.
Solving techniques
- Skyscraper Edge Clues: 1 and N: A clue of 1 puts the tallest tower right beside it. A clue equal to the line's length means the towers climb one step at a time.
- Placing the Tallest Tower: A clue of k needs k−1 shorter towers in front of the tallest one, so the tallest can't stand in the k−1 cells nearest the clue.
- Checking Every Ordering: When the shortcuts run out, try each ordering of a line that the candidates allow, and keep only the digits that some valid ordering uses.
- Naked Single (Obvious Single): A cell with only one candidate left must hold it. The first thing to look for in any sudoku, and how to spot it quickly.
- Hidden Single: When a digit fits in only one cell of a row, column or box, it goes there, even if that cell has other candidates.
- Naked Pair (Obvious Pair): Two cells in a house with the same two candidates take both digits between them, so the rest of the house can't have either.
- Naked Triple (Obvious Triple): Three cells in a house whose candidates use only three digits take all three, even when no cell shows all of them.
- Hidden Pair: Two digits that fit in only the same two cells of a house claim those cells, so every other candidate there can go.
- Hidden Triple: Three digits confined to the same three cells of a house claim them, clearing out every other candidate in those cells.
- X-Wing: A digit confined to the same two columns in two rows (or the same two rows in two columns) can be cleared from the rest of those lines.
- Swordfish: The X-wing over three lines: a digit confined to three columns across three rows can be removed from the rest of those columns.
- XY-Wing (Y-Wing): Three two-candidate cells that bend around a pivot: whichever way the pivot goes, one wing holds the shared digit, so no cell seeing both wings can.
Difficulty
Puzzles are generated on your device, so there is an endless supply of them. Skyscraper Sudoku 5×5 comes in one grade — or work up the endless track, where every level is generated a little harder than the last.
Questions
- What does a clue of 1 mean?
- That only one tower is visible from that side, so the tallest tower, the 5, stands right next to the clue and hides the rest.
- Why are there no boxes?
- The clues around the edge do the job that boxes do in classic sudoku. Each row and column still holds 1 to 5 once.
- Why is every puzzle Expert?
- The edge numbers carry most of the solve, and the hardest way of reading them, trying every ordering a line allows, is graded Expert. The board is small, so an expert puzzle here is still a short one.