Friday, July 27, 2018

Leetcode 687: Longest univalue path - faulty design

July 27, 2018

Introduction


It is easy level tree algorithm. Now it is 11:51 PM, I believe that I spent over 60 minutes to work on the algorithm.

With faulty design, I managed to write a solution to pass 43/68 test cases.

My practice


Here is my C# code.


No comments:

Post a Comment