Saturday, September 21, 2019

Weekly contest 155

Sept. 21, 2019

Introduction


I was too busy to play weekly contest, so I skipped weekly contest from 137 to 155. Today I came back to play weekly contest 155.

Performance report


I did write the first algorithm, second algorithm and third algorithm. I checked second algorithm, only less than 20% submissions are successful, I tried to improve time efficiency of algorithm, but I could not come out working ideas such as using binary search algorithm. I did write third algorithm using union find, and then I ran out of time to go over all disjoint set, and then sort each disjoint set characters, and then put together a string based on index of string.

Here is my ranking.


First algorithm C# code is here,  I just wrote a post on Leetcode discuss quickly.

Second algorithm C# code written in the contest is here. I need to work on the code and make it work, I like to study the ideas from other people, and then figure out how to  make it work fast.
Third algorithm C# code written in the contest is here. I also like to continue to write and make it work.

Actionable Items


Life is tough as a programmer. I understand that it is so important for me to work on crafting skills.

I checked top 10 player and their code, so I understand that I have to be humble, and work hard and push myself to advance my ranking. Those players are really hard working.



No comments:

Post a Comment