Amazon Interview Question for Software Engineer / Developers


Country: United States
Interview Type: Phone Interview




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

You could grep for a regex pattern that matches the format of a phone number, though more information should be given about the format (eg. could be xxx-xxx-xxxx or (xxx) xxx-xxxx or other things as well)

- JYChen October 25, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess this has something to do with grep in unix

- Anonymous October 25, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

you can use String.format("%03d-%03d-%03d", numbers) to find the phone numbers

- Kumar October 27, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

@JYChen, that is the idea mentioned by the interviewer!

- Anonymous November 14, 2012 | 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