Valid Sudoku — LeetCode

Here is the question:

LeetCode #36

The input looks something like this:


With this problem, there are 3 main things that we have to do to determine if our board is valid.

I broke these steps down into 3 separate functions for simplicity.

Here is my solution:

Execution report:

Faster than 84%

Source code here

Social links here