Amazon Interview Report
- 0of 0 votes
AnswersImplement the divide of two integers without using the divide operator.
- JSDUDE December 12, 2014 in United States for AWS Infrastructure Planning, Analysis and Optimization
After implementing the O(n) algorithm to subtract the divisor from the divider, he asked me to implement a better algorithm.
I started working towards bit manipulation, but ran out of time.
He also hinted that I could have used binary search. Not sure how though.| Report Duplicate | Flag | PURGE
Amazon SDE-2 Math & Computation - 2of 2 votes
AnswersDesign a robot that will take your order and make sandwiches for you.
- JSDUDE December 12, 2014 in United States for AWS Infrastructure Planning, Analysis and Optimization
Once I was done with this, I was supposed to extend it to have multiple robots doing this job like an assembly line handling multiple sandwiches and other edible items
Once I handled that, he asked me to create a web service for this that will handle online ordering. He also wanted me to implement fulfillment centers| Report Duplicate | Flag | PURGE
Amazon SDE-2 Object Oriented Design - 0of 0 votes
AnswerGiven a stack of magazines create an anonymous love note (pick words or alphabets from the magazine and create the note)...
- JSDUDE December 12, 2014 in United States for AWS Infrastructure Planning, Analysis and Optimization
He gave me the choice of handling words or alphabets
Assume you have a scanned copy of the magazine as a string.
Once I implemented both words and alphabets, he asked me to scale it to mass production and maximize the throughput of a fulfillment center handling this| Report Duplicate | Flag | PURGE
Amazon SDE-2 Algorithm