Wednesday, August 29, 2018

Leetcode 671. Second minimum node in a binary tree

August 29, 2018

Introduction


It was my 10:00 PM mock interview, so I randomly chose one easy level tree algorithm. I chose Leetcode 671 and asked the interviewee to work on the algorithm. I had time to review the algorithm, and spend time to discuss with the interviewee.

I like to write one more solution based on the discuss shared by the Facebook engineer. Here is the link. But first I like to share my first practice on Leetcode discuss.

First practice


Here is my sharing on Leetcode discuss panel.


No comments:

Post a Comment