Google Interview Question

Suggest a data structure and algorithm to keep track of non-overlapping appointments.

Interview Answer

Anonymous

Mar 29, 2013

I suggested using a tree structure. He had me type the code into a Google document that we used as a whiteboard. I did alright but he had to ask me a few directed questions to get the answer he was looking for.

1