Amazon Interview Question for Software Engineer / Developers






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

hashing:-hashing is done to search any data with n time complexity.hashing is done to make fast search.
to implement it a hash table is formed with the help of hash function
there are two types of hashing
close addressing and open addressing.
in open addressing there is no problem reagrding collision because there is a lot of space.
In close addressing there are a limited space and we are to use hash function to implement data on that table..that will cause collsion if hash function is giving same value for two keys.

hash fucntion:- as like i am taking roll no of student then there last digit will be a hash function
As my data is 0,1,2,3,4 then i should use hash function as i%5

- ashu143 June 29, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

hw come searching complexity is O(n) its O(1) ryt?

- Xclamation! June 30, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

ya its o(1)....it was misprinted i think

- ashish.cooldude007 June 30, 2010 | 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