design Interview Questions
- 0of 2 votes
AnswersHow would you design Amazon Lockers?
- teli.vaibhav October 30, 2016 in United States
Amazon Lockers - Customers can use these lockers to have their products delivered. These lockers are physically available to customers at the same or several nearby zip codes.| Report Duplicate | Flag | PURGE
Amazon SDE-2 design - 1of 1 vote
AnswerHow would you Design a HashTable?
- teli.vaibhav October 30, 2016 in United States
In what ways would you attempt to address collisions?| Report Duplicate | Flag | PURGE
Amazon SDE-2 design - 0of 0 votes
AnswersDesign a system for searching strings in files present on a fileserver under a directory. there won't be any sub-directories. There could be more than thousand/lakhs files. And the file size could be in GBs. The matching line should be written to a single file. user will execute grep "string"
- maske.s August 10, 2016 in United States
The sub-questions are
1) Design where the application executes on single machine.
2) Design where the application can execute on multiple machine.
3) Where could be the potential bottleneck.
4) What component would be bottleneck if 50 cores and slow disk.
5) What component would be the bottleneck if we 4 cores and fast disks.| Report Duplicate | Flag | PURGE
Microsoft SDE-2 design - 0of 0 votes
Answersyou have millions of records in DB. How could you display those records efficiently as a paginated view. Which UI technology would you use and why? how will you design the back end?
- Anonymous July 26, 2016 in India| Report Duplicate | Flag | PURGE
deutsche bank Dev Lead design - 0of 0 votes
AnswersI was asked this question:
- rishab99999 July 18, 2016 in India
Imagine you want to build a standalone app. This app let's user see the N nearest ATMs within the range. You can assume that the app will show ATMs within some range(like 1km * 1km square). You have baked-in the offline map of the city in the app itself - which means the app already know the locations of all the ATMs in the city. Assume that ATMs and your location to be 2d cordinates(x, y). Also you have stored the location of all the ATMs in the app itself. You need to find the best and most efficient way to find the nearest ATMs within the range.
You don't have to give the logic to find the distance between two points. You need to tell how can you filter out soo many ATMs within the city for a given range. You can assume that the region for which you want to show the location of the ATMs be a square/rectangle. The app knows your location everytime.
So basically the problem is - how will you store those ATMs coordinates in the app so that the app at any point can filter out N ATMs for you if they lie inside the region.
My solution was to have sorted x coordinates and sorted y coordinates pre computed. Now in the sorted x coordinates, Find all the x coordinates that lie within the range of the region's x coordinates for which you want to find the ATMs. Repeat the same for y coordinates. Now find the intersection of both the result. This will give you the result. But interviewer wanted more optimized approach. Any idea how to do better?| Report Duplicate | Flag | PURGE
Adobe design - 0of 0 votes
AnswersDesign for online card game say like poker or any other game. The classes etc..
- SS June 30, 2016 in India| Report Duplicate | Flag | PURGE
Amazon SDE-2 design - 0of 0 votes
AnswersDesign Food Panda or online food ordering system.
- SS June 30, 2016 in India| Report Duplicate | Flag | PURGE
Amazon SDE-2 design - 0of 0 votes
Answergiven an arraylist of say 50 lac entries and an empty queue, Design a multi-threading bases system which can copy the items in arraylist in a queue parallely
- avidwaj June 12, 2016 in India
How many threads can be spawned based on what criterion ? Basically the interviewer wanted to know how to implement an algorithm where we can design number of threads to be spawned ?| Report Duplicate | Flag | PURGE
Oracle Software Developer design - 0of 0 votes
AnswersThis question is windows based subsystem design to test the design skills. We are working in a complex system which involves multiple process, DLLs, windows services which will be gets installed on our system with the project. We have to design a logger system for this project where in all the multiple subsystem can use this logger system for their logging activities .
- johnsvakel November 27, 2015 in India for Azure
Design pattern used
Statically linked or Dynamically linked?
How the logger functions are designed (sample signatures)
How we can improve performance while logging (Think of ETL tracing)| Report Duplicate | Flag | PURGE
Microsoft Member Technical Staff design - 0of 0 votes
AnswersDesign a train system which suggests shortest path and transfer needed to reach from source to destination. What can be the optimization.
- hm September 30, 2015 in United States
For example:
A system may have 10 trains from t1 to t10.
There are total 100 stops in the system s1 to s100.
Each train has fixed set of stops. You could allow to change and transfer train of source and destination does not cover using just 1 train.
What all can be APIs, data structure, optimizations scalable option.| Report Duplicate | Flag | PURGE
Software Engineer Algorithm Problem Solving Software Design System Design Trees and Graphs design - -1of 1 vote
AnswersExplain all Design Patterns Used in Java Spring Framework.
- vikrantgupta01 September 27, 2015 in India| Report Duplicate | Flag | PURGE
LendingKart Principal Software Engineer design - 0of 0 votes
AnswersElevator system for a tall building
- JSDUDE September 24, 2015 in United States| Report Duplicate | Flag | PURGE
Tableau Software Engineer / Developer design - 0of 0 votes
AnswersDesign "bookmyshow.com"
- Anand Barnwal August 30, 2015 in India| Report Duplicate | Flag | PURGE
Morgan Stanley design - 0of 0 votes
AnswersDesign Twitter.
- AlgoBaba August 13, 2015 in United States| Report Duplicate | Flag | PURGE
Twitter Software Engineer design - 2of 2 votes
Answershow would you design a microwave for the blind?
- harushimo July 24, 2015 in United States| Report Duplicate | Flag | PURGE
Google Program Manager design - 0of 0 votes
AnswersHow to design a LRU cache using heap(priority queue) ?
- Anand Barnwal June 13, 2015 in India| Report Duplicate | Flag | PURGE
Amazon Intern design - 0of 0 votes
AnswersDesign classes and interface for BookShelf
- pc June 08, 2015 in United States| Report Duplicate | Flag | PURGE
Microsoft SDE-2 design - 0of 0 votes
AnswersAs I interviewing for Big data position. Asked Hadoop question :-
- Tom Walker June 07, 2015 in United States
Difference between TextInput vs Key Value format in Hadoop.| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Java design - 0of 0 votes
AnswersLog file contains UserId.Every day has new log file.Given range of n days find top 10 users?
- dkaminfotech May 23, 2015 in United States| Report Duplicate | Flag | PURGE
Expedia SDE-2 design - 0of 0 votes
AnswersDesign TIC TAC TOE problem
- dkaminfotech May 23, 2015 in United States| Report Duplicate | Flag | PURGE
Expedia SDE-2 design