Skip to content
Advertisement

Tag: puzzle

Skyscraper puzzle algorithm

I’m writing an algorithm to solve skyscrapers puzzles: Skyscraper puzzles combine the row and column constraints of Sudoku with external clue values that re-imagine each row or column of numbers as a road full of skyscrapers of varying height. Higher numbers represent higher buildings. To solve a Skyscraper puzzle you must place 1 to 5, or 1 to whatever the

Advertisement