Saturday, January 6, 2018

Same tree

January 6, 2018

Introduction


It is so relax and enjoyable to experience the discussion of same tree algorithm. One of mock interview activity is to coach each other if having chance.

After today's 10:00 AM mock interview, I also had chance to exchange the idea to solve algorithm problems. The peer shared his experience with same tree algorithm, similar to Leetcode: Same Tree easy level one, but the tree can have multiple children. And I shared the algorithm about median of stream. The peer saw the problem before and he knew that the max and min heap are useful.




No comments:

Post a Comment