Amazon Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
1
of 1 vote

Consumer
Consumer Identifier
Details

Table
Table Identifier
NumberOfSeats
Category
Restaurant Identifier
IsOccupied

Restaurant
Restaurant Identifier

Reservation
StartTime
EndTime
Restaurant Identifier
Table Identifier
Is Cancelled
Consumer Identifier
Enabled - This would use to enter record for customer who were not given the reservation due to occupied seats at this particular slot. It can be used to inform the consumer to reserve the slot again as its free now.
Is Defaulter - On closing reservation, This field could be use to list out cases where the reservation were not consumed and there was no communication for cancellation.

QuerySlot
Reserve Table
Cancel Table
ContactConsumer
Close Reservation
GetAvailableSlots - This will show enumerated list of all the tables with timestamp of given date. It depicts free/occupied slot.

- ankushbindlish May 01, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Classes : Table, TableManager

TableManager will have boolean array of tables and decides which one to reserve based on reservation request. Also, will have option to cancel reservation.

- Messi April 13, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how to design a restaurant management system in java

- brayn January 24, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More