Introduction
It is so challenge to work with the algorithm called Leetcode 4: the median of two sorted array. It is hard level algorithm. I have been worked on the algorithm more than two hours today.
First I wrote a bug-free code based on Leetcode 4 online judge. And then I wrote a code review to review my own code Find kth largest element in the union of two sorted array (Follow up) written more than 10 months ago.
Here is the code reivew I did in last 60 minutes.
Actionable Item
The algorithm is so hard to write and we have issues without a lot of test cases from Leetcode online judge Leetcode 4.
Timeline of algorithm practice
With the feedback of JS1's code review , 10 months ago, I posted second algorithm to follow up. Here is the follow-up.
Today I practiced my mock interview over 100th times since this March 2017, I always meet the highest top players who works hard to prepare top level onsite interview like Facebook or Google in less than one month.
I have to share my practice and then work more than 2 hours to work on bug fixes, and coding style and all other engineering stuff. Be a writer first instead of just writing code.
Today I wrote a code review to fix my own mistakes over 10 months ago. Here is the code review link.
No comments:
Post a Comment