design a ADT to implement push(), pop() method as stack, and also has a getMinElement(). Require that getMinElement() is constant time but push()/pop() do not have to be constant time at first. Then for improvement, these three methods are all required to be constant time
I applied through other source. The process took 2 months. I interviewed at Amazon in Dec 2010
Interview
Got email from HR recruiter. Took 2 phone interview which were easy. flew to Seattle for on-site interview. hard enough to sweat. Lots of the questions were focused on algorithm & coding. They want you to be able to think on your feet. Practice to code on the board beforehand.
F2F:
a) find the top k repeated string in the list of string
b)Least common ancestor.
c)Finding the max sum of 3 element subset in an array.
1 10 6 1 0 32 4 ==>36
d)Design a In memory Voting System to handle concurrent users access
e) (Bar raiser)Multiple logs of server containing (time,sessionId,userId,Page) user can navigate page from 1 server to other server. find the three page subset sequence repeated maximum number of times
hint:- pushing all file data to DB we can solve this
f) Check weather string is a palindrome given a string as Interator<Character>