Microsoft Interview Question for Software Engineer / Developers






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

For the first interval (which is not being asked for), A would hit at 8 seconds (4 bounces, C would hit at 9 seconds (first bounce) and B would hit at 10 seconds (2nd bounce). For second interval, B bounces at 25, A at 26 and C at 27 (there is no interval before that when C hits at 18 because B and A are at 20 and nothing is at 19 seconds). For the 3rd interval, A bounces at 34, B at 35 and C at 36.

So the answer is C and C.

- Frank January 30, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

8,9,10 => A,C,B
25,26,27 => B,A,C
34,35,36 => A,B,C

Therefore the answer would be "C and C".

- -- March 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

These are some of the hints. We can formulate the result with it.

> 1st and 3rd should be even and should have A in it.
> 2nd should be odd.
..>> multiple of 5 and odd will have any number ending in 5. So if 2nd is B then 3rd should be C with a number ending in 6(and multiple of 9 eg: 36)
..>> multiple of 9 and odd implies 3rd will be multiple of 5 and even. this means multiple of 9 with number ending in 9( such as 9, 99 etc)

- peace November 06, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

answer is Springs C & C

- ahtev November 08, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

actually...

08,09,10 => A, C, B&A
25,26,27 => B, A, C
34,35,36 => A, B, C&A

So, acceptable answers should be "C and C" or "C and A".

- caue.rego August 01, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

answer is C & A.
first interval is 25-27 then 34-36 then 54-56.
in second n third its C and A

- huha November 14, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Isn't the 1st interval 8,9,10.
It will be C and C for 25,26,27 and 34,35,36

- Anon November 18, 2009 | Flag
Comment hidden because of low score. Click to expand.
-1
of 1 vote

answer is C & B

- Anonymous February 14, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

The reason is that, first, in the 3 consecutive seconds, only one could be even, otherwise, A would bounce twice. And we always need to look at seconds that is around 9*(2k+1). so , 1st is 8, 9, 10,2nd is 25-27 and then 63, 64, 65

- Anonymous February 14, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Question itself says C&A are acceptable i.e. two springs bouncing at the same time. Then why should one have a condition that one and only one of the seconds value should be even. Please correct me if i am wrong.

- hary February 19, 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