Amazon Interview Question for Software Engineer / Developers


Country: India
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
5
of 5 vote

He is looking for Trie data structure, use it get longest prefix matching..

- umesh May 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Please elaborate the question with some sample input and solution.

- Learner May 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Since the lines are infinite, we need to take the small portion of lines as one sample, like wise we will take 10 samples and in each sample we need to calculate the prefix of words and then we will consider the prefix maximum times encountered in 10 samples. Then we can conclude this.

- sandeep May 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Didn't get the Qs. what prefix / how long prefix / is there any condition on prefix.

- deam0n May 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

it's like "aditya and aditi ......" so "adit" is prefix for 2 words and having length 4. So we need to find out the max length of prefix among all the words in the complete string.

- adarsh May 18, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

it's like "aditya and aditi ......" so "adit" is prefix for 2 words and having length 4. So we need to find out the max length of prefix among all the words in the complete string.

- adarsh May 18, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Sorry about the noob question:
What does 'WAP' mean?

- Anonymous May 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

WAP == Write a program

- Anonymous May 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
-1
of 1 vote

if u dont know WAP then WTF r u doing here

- FuckYourSelf May 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
-1
of 1 vote

Wireless application protocol

- Anonymous May 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Don't fight guys.
Dance with me.

- ShivamBabuChhailChhabeela June 20, 2012 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More