Saturday, March 24, 2018

Sorting algorithm

March 24, 2018

Introduction


I had two days vacation and also had a friend visiting from Shanghai. I just came back to work on mock interview, I had some difficulty time to run whiteboard testing, and then need some time to fix the bug.

Code review


Here is my C# code to pass all test cases. I made two mistakes in my first writing, and then I had issues to pass all test cases. I found the problem on line 15 and add line 20.


No comments:

Post a Comment