View All num of num Add Photos Sandvine This employer has taken extra steps to respond to reviews and provide job seekers with accurate company information, photos, and reviews. Interested for your company?Learn More. www.sandvine.com www.sandvine.com Work in HR? Unlock Free Profile Overview Reviews Salaries Interviews Jobs Photos Benefits 79 Reviews 59 Salaries 28 Interviews Follow Add Review or Salary Follow Add Review or Salary Sandvine 79 Interview Question Quality Assurance Engineer Interview(Student Candidate) Toronto, ON (Canada) Sandvine Your friend has a program which he builds automatically each day. He is going away for 10 days and he asks you to look at the build results each day and let him know the day the build fails. He comes back on the 11th day and his boss asks him about the build results. You forget to monitor the build results and when you check on the 11th day, the result is a fail. How would you tell which day the build failed in the least number of tries by looking at the results. Tags: See more , See less 8 Answer Add Tags Flag as Inappropriate Thank you! Your feedback has been sent to the team and we'll look into it. Oops! We're sorry but your feedback didn't make it to the team. Your input is valuable to us — would you mind trying again? Send Answer Interview Answer 1 Answer ▲ 0 ▼ Use Binary Search.Chose the middle which is day 6. If fail, then go left, if passed go right. So the least number of tries is 4 6 / \ 3 9 / \ / \ 2 4 8 10 / \ / \ 1 5 7 11 Dominator on Sep 2, 2013 Flag as Inappropriate Thank you! Your feedback has been sent to the team and we'll look into it. Oops! We're sorry but your feedback didn't make it to the team. Your input is valuable to us — would you mind trying again? Send Add Answers or Comments To comment on this, Sign In or Sign Up.