Amazon Interview Question for Software Engineer / Developers


Country: India
Interview Type: In-Person




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

Quad tree will be used to solve this problem.

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

Can you please add a little more explanation?

- hulk April 21, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

we can solve it using graph, dfs would be used to find the border

- abhisekh modi April 27, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Hmm, I'd say count and color can be implemented using slight tweaks to the flood-fill algorithm. I'm not sure how rotation and scaling are achieved.

- tejaswi.yvs April 30, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

flood-fill is too time consuming here. I think, the rotation is just to multiply a rotation matrix. for scaling. it is the same. Scaling and rotation are very related to the basic geometry here, why is it relevant to the specific question?

- linusyang2016 May 13, 2014 | 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