Plan to play leetcode weekly contest at 6:30 pm. 90 minutes contest.
First time to join the contest.
In 90 minutes, Julia finished first two algorithms, but second one she came int runtime error.
Her C# code in the contest is here. Need to work on more on this medium algorithm, Leetcode 554.
Actionable Item
3 medium algorithm, each takes 20 minutes. So, the code should be less than 50 lines for each algorithm.
Time just flies too quickly when Julia worked on Leetcode 554. She managed to work out the sample test case, but it does not pass Leetcode online judge.
Analysis of Leetcode 554
Julia, you should think about using min heap to track line sweep algorithm, therefore no run time error, which is probably timeout.
Julia's Argument - 2 cents after her first contest
Leetcode has more fast pace to develop new algorithm and bring into a lot of players compared to Hackerrank, therefore 2017 Julia should spend more time to play with Leetcode algorithm.
No comments:
Post a Comment