chandra
Senior Software Developer
Senior Software Developer
is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
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.
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.
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.
I think we only need 7. Here is my explanation.
- chandra June 02, 2008Run 5 races as everyone above explained. Pick up top 3 from each race. Suppose the sets of horses picked up is (a,b,c), (p,q,r), (m,n,o), (x,y,z) , (u,v,w). Now run a, p, m, x and u (i.e 1st horse from each set)in one race (6th race). Suppose the top 3 are a,p and m (the answer does not change even if any other 3 are top 3). Now since x and u are not in top 3, y, z, v and w will also not be in top 3. Now we are left with a, p, m, b, c, q, r, n, and o. since m is the 3rd among a, p and m, n and o cant be in top 3 so take them out. Now we are left with a, p, m, b, c, q, and r. Since a is the top horse in 6th race, it is going to be the top anyway. so take that one also out. Now we have p, m, b, c, q and r and we need to find out who can be 2nd and 3rd best horse. Since p is in 2nd position and r came 3rd in 2nd race, it can not be one of the top 3 horses. So that that out. Now we have p, m, b, c and q left. Make them run 7th race. Top 2 horses from this race will fill 2nd and 3rd position.
So we have a total of 7 races. Use pen and paper while going through my explanation. it will be easier.