Monday, November 6, 2017

Code Review: Sudoku solver recursive solution with clear structure

Nov. 6, 2017

Introduction


It only takes less than one hour to post the question on code review. The algorithm is Leetcode 37: Sudoku solver, the most classical depth first search algorithm. My practice is documented here.

It is a wise decision to ask a question on code review website, this time I learn a few things from code review.


Code Review


Code review link is here.

I got very good review. My most favorite advice is Code to interface. Use IEnumrable<char> instead of using HashSet<char>.

No comments:

Post a Comment