Salesforce Interview Question

Implement sudoku validation algorithm in a language of your choice