Amazon Interview Question for Software Development Managers

Country: Canada

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

So a event booking system ,ca
First we need a the list of recently posted new events ....for this we can use treemap of events saved with the posted time the treemap is sorted, the recently posted events always appears first , We can use stack too.

Secondly for storing booked events by the users , we can Queue , because the event with the closest date should appear first .

To make system more friendly for the users we can classify the events on the basis of their categories/Themes/nearby locations.

We can use preference based recommendation in system too, so the users get more events of the same category or if someone missed any event then system will recommends any similar event in future to the user.

- Harsh Bhardwaj March 27, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

This questions has several ambiguous pieces that should be clarified.I will move with several assumptions and can be tweaked as and when we go along.

scale of the system requirements:
- # of events hosted per month
- average # of users accessing these events per month
- peak and average user at any single time
- is this event booking system .. designed as a standalone system, or needs to be sold as a service to several vendors (for eg. Amazon, or TicketMaster, or can be reused for schools or universities).

Based on the above inputs.. several assumptions can be made as we move along. Then comes breaking down the overall system into individually designable pieces : (1) user profile storage servers and database , includes credit cards, payment info, emails and ticker generation and retrieval list, how to store tickets per users for later retrievals (2) Even t profile storage and access .. current event's total tickets, venue details , (3) Reusability of venues .. and information like seating info ,tickets..

Users -- should cover profiles, cc info, phone, text emails, preferences, user data mined (preferences of most liked events, most preferred venues,) ; social profiles like friends and family connections ... how an this be explored to get users notify if friends and families are going or if preferred events are taking place

Venues -- location, seating chart and arrangement, calendar of venue+event map with each map being accessible per event for tickets to sale

Events -- TypeX at a Venue Y on Date Z.This tuple is used to locate a specific event , and users interact with these events. Ticket prices for various events, tickets available to sale for this event.

- zubin.shah May 21, 2018 | Flag Reply

Add a Comment

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


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


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