/sudoku-validator

A simple solution validator for 9x9 Sudoku.

Primary LanguageRubyMIT LicenseMIT

sudoku-validator

A simple solution validator for 9x9 Sudoku. Just for fun.

Usage:

Command-line input is a string of integers representing a 9x9 Sudoku grid. A sample valid input is "835416927296857431417293658569134782123678549748529163652781394981345276374962815". Output will be a boolean.

$ ruby sudoku_validator.rb <input>