Saturday, December 24, 2016

Stackexchange.com code review - Find all stepping numbers in range n to m

Dec. 24, 2016

Problem for code review:

http://codereview.stackexchange.com/questions/149096/given-n-and-m-find-all-stepping-numbers-in-range-n-to-m/149456#149456

Detail:


I really like the code review conducted by @twohundredping, the Advanced topic with code is my most favorite one (Given N and M find all stepping numbers in range N to M). I put together C# code and also test the code using input: start = 10, end = 20.
I also learned the coding standards @twohundredping as well. If it is ok, I like to post as an answer, technically, I like to post it as comment, but less than 50 reputation, I could not do it.
Please read my code using C#, the solution is an excellent workout for algorithm problem solving. The code link: https://gist.github.com/jianminchen/28b656f16aa58a00687e823eb0aaf212

Actionable Items:
Understand why a post is deleted. 









No comments:

Post a Comment