Introduction
It is an easy level tree algorithm. I struggled more than 30 minutes when I practiced, so I asked the interviewee in mock interview, he solved less than 10 minutes in July 25, 2018 10:00 PM. I understood that it is so important to meet people and learn from others.
Here is the gist for C++ code. I will write a C# solution based on the code later.
No comments:
Post a Comment