Monday, March 2, 2020

Case study: Check completeness of binary tree

March 2, 2020

Introduction

It was my 10:00 PM mock interview. The interviewee has super good performance, and I like to conduct a short case study.


Case study

Here is the code he wrote. What he did excellently is to go over the test case carefully, and step by step to prove his idea work, and then he started to code. He finished coding in less than 10 minutes bug free, quick and efficient, and I tested it.



No comments:

Post a Comment