Amazon Interview Report
- 0of 0 votes
AnswersWAP to find maximum sum sub-matrix from a give matrix.
- mukuljain.dce March 23, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
Answers"you have to design a class "Deckofcards"...with 2 operations: 1:Shuffle 2:Pick"
- mukuljain.dce March 23, 2012 in India
Pick would pick a randam card from the deck and Shuffle will shuffle the cards and give you bac the deck of cards.
I answered with 2 options 1.LinkedList 2:Array...thn thr ws a discussion for arnd 10 mins over the soln...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersHow to compute all possible solution of A^3+B^3=C^3, where A,B,C belongs to (0 to N)?
- mukuljain.dce March 23, 2012 in United States
Write code...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersYou r given a matrix of 0s nd 1s. WAP that check if an element is 0 or not and places zeros to all the col and row of that element.
- mukuljain.dce March 23, 2012 in India
eg: i/p: 1 1 1 1 o/p : 1 1 0 1
1 1 0 1 0 0 0 0
1 1 1 1 1 1 0 1
1 1 1 1 1 1 0 1| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersYou r given an sorted bt rotated array of integer like: 6 7 8 1 2 3 4 5
- mukuljain.dce March 23, 2012 in India
You have to search an element...
I answered vd an O(logn) solution...
then he told me to write the code...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersHow will you write a randam function?
- mukuljain.dce March 23, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersGiven two trees T1 and T2. WAP to check whether T1 is a subtree of T2 or T2 is a subtree of T1
- mukuljain.dce March 23, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersHow to compute A^n where n<1 million
- mukuljain.dce March 23, 2012 in United States
Write code...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersWAP to merge two linked lists like:
- mukuljain.dce March 23, 2012 in United States
list1: 1->2->3->4
list2: 5->6->7
o/p list: 1->5->2->6->3->7->4| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersWhat is the diameter of a tree?
- mukuljain.dce March 23, 2012 in India
I answered...
then he told me to write the complete code...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersGiven some words(written in lexical order) of some unknown language...You have to find lexical ordering of all the alphabets...
- mukuljain.dce March 23, 2012 in India
Like in english lexical ordering is A B C...Z| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersHow to find a largest palindrome from a given string? Write code....
- mukuljain.dce March 23, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer