Monday, March 11, 2019

1008 Construct binary search tree using preorder traversal

March 11, 2019

Introduction


It is so interesting to learn to write an elegant solution compared to the solution I wrote in weekly contest 127. I need to write about the topic about elegant solution, how to hack a solution?

Leetcode discussion


I wrote three discussion post.

First one is called C# using extra space to avoid bugs.
Second one is called C# code written in weekly contest 127.
Third one is called C# how to write elegant solution?

No comments:

Post a Comment