Showing posts with label weekly contest 120. Show all posts
Showing posts with label weekly contest 120. Show all posts

Saturday, January 19, 2019

weekly contest 120

Jan. 19, 2019

Introduction


It is my favorite weekly contest 120. I solved first two algorithms, but I could not solve the third algorithm related to tree algorithm.


My performance


Here is my ranking.


Jan. 22, 2019

Here are two algorithms I wrote in the contest.
977 Squares of a sorted array, here is my discuss link.
978 Longest turbulent subarray, here is my discuss link.

The algorithm I wrote for the third algorithm does not work. The design has an issue.

After the contest, I wrote the third and fourth algorithms.
979 Distribute coins in binary tree, here is my code written in C#.
980 Unique paths III, here is my code