Introduction
One more solution is here based on using two variable to switch direction clockwise. I read the idea from Leetcode 54 discussion, and then tried to write one using C# language.
One of ideas is to go over as many Leetcode discussion as possible, and then I will vote the idea I like and actively share my feedback. Because I like to use this algorithm for my mock interview as an interviewer, I like to do as many research as possible.
Please write at least ten ideas using C#. Be well prepared and learn one algorithm very well. I can use the algorithm to tell who is real talented programmer in the world.
No comments:
Post a Comment