Amazon Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




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

I guess Observer design pattern will be helpful. CPU depends on mother board, Operating system depends on CPU architecture chosen, memory requirements depends on OS chosen and so on.

- Delta January 16, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Primarily would go ahead with Abstract Factory Pattern on a broad sense. Also, other patterns may pitch in as complexity grows.

- Arif Shaikh January 18, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Other than design pattern, i can think of this problem as (undirected) graphical representation of different components. Such as "Motherboard" has edges to all CPUs it supports and then CPUs can have edges to all RAMs in turns that it supports and it goes on.
So when user first select "Motherboard", it display all CPUs in its adjacency list ( and can even filter down as other components along their children if needed).
Now User select particular CPU, then display all supported RAMs i.e all adjacent vertices.
Same way for reverse filtering..

- ~amit April 10, 2015 | Flag Reply


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