Sudoku Solver, Largest Rectangle in Histogram

Exercises from LeetCode, they are both accepted