Amazon interview question

Design a parking lot

Interview Answers

Anonymous

8 Feb 2012

A 2D array is pretty much the best data structure that I can think of for this situation

Anonymous

20 Feb 2013

What about a hash map?