This is a classic logical puzzle based on the Japanese game Futoshiki. You have a square grid; Each square may contain a digit from 1 to the size of the grid, and some squares have clue signs between them. Your aim is to fully populate the grid with numbers such that: Each row contains only one occurrence of each digit. Each column contains only one occurrence of each digit.