Wednesday, February 7, 2018

spiral matrix algorithm

Feb. 7, 2018

It is my decision to start to work on Leetcode 54 Spiral matrix again. I like to go over all possible solutions through Leetcode discussions, and then vote some of them, and write C# version.

One thing I can do is to work on the same algorithm but use various approach. And I need to understand what the difference is, what makes impact on time consumption on writing, easy to avoid edge cases handling, and what is the production code.

After I practiced over 10 times on the algorithm starting from March 2017 to January 2018, I found the weakness of my practice.

No comments:

Post a Comment