Sudoku Validator

This is a Bun project (https://bun.sh/) written using VSCode. It can be run from the CLI using bun test and has a watch mode bun --watch test.

You should practice the exercise before the interview, and we will solve it together from scratch during the interview. Use of Copilot and similar tooling is not allowed.

The purpose of the exercise is to pair and code something within the time limit, not finding the most performant solution, or judging your code structure and naming conventions.

Behavior

Familiarise yourself with Sudoku rules: https://en.wikipedia.org/wiki/Sudoku

Structure

index.ts contains a placeholder function validateSudoku to validate their correctness.

index.test.ts contains a handful of tests that validateSudoku has to validate correctly.