Thursday, May 3, 2018

Leetcode 102: Binary tree level order traversal

May 3, 2018

Introduction


I like to work on three ideas to implement the algorithm called binary tree level order traversal. The peer gave me honest feedback after he mock interviewed me on May 2, 2018. It should take you less than five minutes to write, and then you have chance to move on the second question. But you actually did take 20 minutes.

To train myself to work on this algorithm, I plan to spend time to read a few hours on the discussion panel of the algorithm first.

Using extra node null to separate the level


I like to write a C# practice using extra node null to separate the level. Here is my C# practice.


No comments:

Post a Comment