Amazon Interview Report
- 0of 0 votes
AnswersTwo people are travelling through flight. Both have parachute and jump anywhere randomly i.e none of them knows who has jumped where.(Assume there's a big desert and they jump at any random location). Now, both of them have a single piece of paper on which they can write instructions before jumping and that's the only way they can meet each other. What would they write on paper before jumping ?
- omkar November 02, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersGiven an analog clock, it's hour hand and minute hand divide the clock in two sectors. Write a function to return where the second hand is located ? in larger section or smaller?
- omkar November 02, 2010
Given time in format -
hh:mm:ss
Handle special cases carefully.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a program to remove duplicate elements from array.(Array contains elements in range 1...N). Algorithm must be O(N) in time and O(1) in space. Come up with as many test cases as you can.
- omkar November 02, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Arrays - 0of 0 votes
AnswersGiven two sorted singly linked lists L1 and L2. Make L1 like L2 i.e say,
- omkar November 02, 2010
L1 = 10->30->45->80->null
L2 = 2->22->35->56->100->null
Then after writing the program, L1 should look same as L2| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Coding - 0of 0 votes
AnswersWrite a program to find intersection of two rectangles. Come up with as many test cases as you can.
- omkar November 02, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm