Saturday, June 15, 2019

weekly contest 141

June 15, 2019

Introduction


It is my favorite weekly contest. I wrote first two algorithms, the first one I passed the online judge, and the second one I could not pass the online judge, I thought about using greedy algorithm, and the case I thought about is really complicated. I read the third algorithm and came out the solution using BFS, but I ran out of time to write code in weekly contest.

Performance


I wrote the code after the weekly contest. I need to work on a few issues in the contest, I did not have enough time to write the code; and I have some issues related to problem statements.

1089. Duplicate Zeros C# trial and error practice in weekly contest 141

After the contest


June 17, 2019 
1091. Shortest Path in Binary Matrix C# breadth first search practice in 2019
1090. Largest Values From Labels C# Try to solve using greedy algorithm practice in 2019



How to get things done in 90 minutes?


I have to figure out how to manage 90 minutes performance. The most challenging part is to balance all kinds of efforts and produce best solutions for a few algorithms. I have to push myself hard to score more points. 

I spent over 30 minutes to work on the second algorithm, I failed one test case; and then I need to work on bug fix; I ran out of time. 

I know how to solve the third algorithm, and it should not be difficult to write; but at least I need to reserve 20 minutes to work on the algorithm. 

No comments:

Post a Comment