Friday, March 23, 2018

Being an interviewer: Find the 2nd largest element in a binary search tree

March 23, 2018

Introduction


It takes some time for me to learn to be a good interviewer. I start to work on the improvement once I get some ideas how to perform a good interview.

I had a mock interview on March 20 and then I could not understand the code the peer wrote, after 5 minutes discussion, I understood the algorithm. It is so interesting to learn that the peer thinks differently from my understanding of the algorithm.


Code review


Here is Java code I like to review.


No comments:

Post a Comment