System Design Interview Questions
- 1of 1 vote
AnswerI was asked during a virtual onsite to design a chat server. I was interviewing for a senior software engineer position. Here are some of the requirements:
- codemonkey August 11, 2020 in United States
- real time communication.
- offline handling
- multi-device supports.
Luckily, I was well prepared for system design interview questions. Thanks to system design interview - an insider's guide book on amazon and system design primer. Still waiting for the response. Wish me luck!| Report Duplicate | Flag | PURGE
Google SDE-3 System Design - 0of 0 votes
AnswersDesign a system to efficiently find 10 top selling products on an online shopping site at a given time with a time window of say 20 minutes.
- tusharrawat831 July 16, 2020 in India
Say, every second 100 products buy count getting updated.
Which data structure && algorithm would be the best to design such kind of systems ?| Report Duplicate | Flag | PURGE
Accolite software Software Engineer System Design - 1of 1 vote
AnswersDesign content ingestion system
- kumar June 03, 2020 in India| Report Duplicate | Flag | PURGE
Amazon SDE-2 System Design - 1of 1 vote
AnswerDesign a service to scan photos/videos for any malware
- novastorm123 October 16, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon System Design - 5of 5 votes
AnswersDesign a voting system. 100M users will be logging in within a window of 24h (not necessarily uniformly). Every user will be able to choose from a fixed list of options. If the user has already voted the system should not let them to vote a second time. Additional constraint: only the first 100K votes are accepted. If the quota is exceeded any attempt to vote should be rejected.
- adr September 12, 2019 in United States| Report Duplicate | Flag | PURGE
Software Engineer System Design - 2of 2 votes
Answersrecently I came across one good design question. I need your thoughts how to proceed. Assume a big IT hub, like any co-work space / Microsoft / amazxon/ google etc office (which has multiple floors , each floor has multiple meeting rooms , work stations etc) . At any point of time , an admin should be able to know 1. how many people are there in that facility 2. How many people at each floor wise 3. If he chooses any cons room, he must be able to fetch how many people in that conf room at that time . This normally used for any kind of evacuation etc
- gopi.komanduri September 02, 2019 in United States
I tried with http protocol , but interviewer said http is over kill , he hints on some IoT communication etc .. however , want to know what is the best way to solve it| Report Duplicate | Flag | PURGE
System Design - 0of 0 votes
AnswersI was asked to integrate linkedIn and dropbox. So linkedIn is not into file storage system, hence they want to use the services of dropbox. The goal is to create, update, delete the documents of a profile in linkedIn. But these documents will not be stored in linkedIn. They will be stored in dropbox.
- subhranshu.chatterjee July 13, 2019 in India
Moreover, to get this integration, linkedIn does not want to scale up they system. This means, if they have 400 servers, they do not want to add any more servers to achieve the integration.
How can I design this?| Report Duplicate | Flag | PURGE
Microsoft Software Development Manager System Design - 0of 0 votes
AnswersImplement a fair mutex
- neer.1304 July 09, 2019 in United States| Report Duplicate | Flag | PURGE
Nutanix MTS System Design - 0of 0 votes
AnswerDesign a system to upload images with tags. The tags should be searchable and search should return images linked to those tags.
- arnold086 May 25, 2019 in India| Report Duplicate | Flag | PURGE
Amazon SDE-2 System Design - 0of 0 votes
AnswersDesign amazon online book store.
- Desi May 13, 2019 in United States for Robotics| Report Duplicate | Flag | PURGE
Amazon SDE-2 System Design - 0of 0 votes
AnswersDesign a vending machine with following functionalities
- neer.1304 April 21, 2019 in United States
Three types of Users : User, Operator, Admin
User can select and buy multiple items at a time. Money can be inputted multiple times (you will get the item if there is a time gap > 30 secs). He can also do window shopping (see only the prices of items and buy nothing)
Operator can load the items and mark the items as expired if needed, gets notified if a product goes out of stock.
Admin can own multiple vending machines, he should have a analytics report of the items purchased in a month. He can also change the prices directly and it should reflect in all the vending machines which he owns.
Exception handling in all the edge cases
Both HLD and LLD were expected.| Report Duplicate | Flag | PURGE
Amazon SDE-2 System Design - 0of 0 votes
AnswersDesign payments system like Google Pay or Paytm.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign QR code system for a grocery shop.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswerDesign a Notification Service. Notification can be sent to multiple devices.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign a job workflow system wherein a job is defined as sequence of steps. This system will take jobs and execute as per the steps in job. The steps can be conditional(if this then do this else do that). This system should be able to handle multiple jobs, should be fault tolerant etc
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign and implement a Message broker which can handle high throughput and is fault tolerant.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign a workflow system. You need to implement pause/continue operations of the workflow using your database. Essentially, the interviewer was looking completely manage workflow system using database.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign a finite state machine
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswerDesign slack like collaboration tool
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersGiven two async streams -
- neer.1304 April 07, 2019 in United States
Trip : {tripId, date, city}
Bill: {billId, tripId, date, amount}
Design a system to get real time aggregated view of following nature
City, TripCount, TotalAmount
Events in both streams can be out of sync or duplicate. But result needs to be accurate and realtime.| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign a Scheduler Service which can handle high throughput with minimal latency. Should be fault-tolerant and distributed.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 0of 0 votes
AnswersDesign a log4j style logging library for a high throughput multi threaded application.
- neer.1304 April 07, 2019 in United States| Report Duplicate | Flag | PURGE
Uber SDE-3 System Design - 1of 1 vote
AnswersParking lot problem: Given 3-dimensional parking lot, lets say, length width and floor. Implement following two methods: void unpark(int i, int j, int k); where i, j, k are the parking coordinates. void park(); The car should be parked in empty cell with lowest floor and between length and breadth prefer minimum length.Example, (3, 4, 2) is preferred over (1, 1, 3) as floor is 2 in first case. (1, 2, 3) is preferred over (2, 1, 3). (2, 3, 3) is preferred over (2, 4, 3).
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - -1of 1 vote
AnswersLLD for third party delivery vendor for registration and notification system.
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersDesign gaming platform. A number of games can be hosted on this platform. User can login and select a particular game.
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersDesign Meeting calendar system. Then there was discussion on various issues on it like scalability, what database should be used; SQL-NoSQL, concurrency etc.
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersYou are given many files of 6 GB, each having stream of integers. You have space of 4 GB left in your main memory (mainly to swap out, swap in). You have to store sorted sequence of integers in all file in a other output file. How will you do that?
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersDesign an authentication using AWS services like Api gateway and lambda.
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersDesign an online chess game.
- neer.1304 April 06, 2019 in United States
It supports 3 mode:
Player vs. AI
Player vs. player (Offline)
Player vs, player (Online)
The questions asked were how will you assign a player to another player who wants to play. You need to think about how to divide your players into multiple groups of ratings, so that a newbie is not playing a grand master, rather with someone who is of his level only. Then the question was how will you design your system when a player comes in and say I want to play, and the max wait time is 1 min, you need to find a player suitable for his level| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design - 0of 0 votes
AnswersDesign a movies reviews aggregator system. Data should be fetched from movie rating providers like imdb, rotten tomatoes, etc
- neer.1304 April 06, 2019 in United States| Report Duplicate | Flag | PURGE
Amazon SDE-3 System Design