Amazon Interview Report
- 0of 0 votes
AnswersConvert a sorted integer Array to balanced binary search tree. This is very simple one and I could do it in O(n) time and O(1)extra space
- suresh March 05, 2014 in India| Report Duplicate | Flag | PURGE
Amazon SDE1 Data Structures - 0of 0 votes
AnswersGiven 2 sorted linked list , merge them into single sorted list. Change the pointers, don't copy data
- suresh March 05, 2014 in India| Report Duplicate | Flag | PURGE
Amazon SDE1 Data Structures - 0of 0 votes
AnswersGiven a read only linked list with next and random pointer , clone the list
- suresh March 05, 2014 in India| Report Duplicate | Flag | PURGE
Amazon SDE1 Data Structures - 0of 0 votes
AnswersGiven 2 rectangles , find whether they are overlapping or not.
- suresh March 05, 2014 in India| Report Duplicate | Flag | PURGE
Amazon SDE1 Algorithm - 1of 1 vote
AnswersIt was a design question. You have to design a game. it has different types of monsters and different weapons. hero would shoot monster. each monster would have some initial health. Each weapon would do some predefined damage to monster. when its health gets 0, monster would die/disappear. and there would be multiple levels. based on level, monster and their behavior would change.
- suresh March 05, 2014 in India| Report Duplicate | Flag | PURGE
Amazon SDE1 Object Oriented Design