Shopee Interview Question

Solve sudoku problem on leet code