Wednesday, July 25, 2018

Leetcode 538: Convert BST to great tree

July 25, 2018

Introduction


It is an easy level algorithm. The idea I chose is to traverse the tree by visiting right child, root node and left child this order.

Here is my C# algorithm.


No comments:

Post a Comment