Introduction
I enjoyed to be an interviewer and also learned how to develop the solution from the peer's approach.
Here is the transcript with the code I reviewed. I also like to learn from Java programmer.
Minor hint
It is the interviewer's job to give out the hint. What I did is to draw two intervals and then let the interviewee figured out how to advance the interval.
Here is one of cases:
slotsA ________________
slotsB ______ ______________
Another case:
_________________
____ __________
In less than five minutes, the interviewee made choice from start time early one to end time early one. In other words, the early of end time of interval will no longer need. It is so excited to see that the peer came out the solution in such quick time.
No comments:
Post a Comment