I noticed that some of the companies (like Amazon) ask OOD questions during the interview. Usually, the question prompt sounds like “Design a Parking Lot System”. So, I have done some research on this topic and quite confused on what the expectations are?
From what I understand, candidate is supposed to write code. But it seems to me it is quite impossible to define and write down all the class and class Definitions, methods within the 40 min interview time. In addition, it seems that the expectations is also that candidate has to sketch something like a UML diagram.
What are your guys thoughts on this?