Qualcomm Interview Question
Software Engineer / DevelopersSeems to be same sort of .....
one person can finish painting a house in 6 days, another in 4 days. if they work together, how long would it take to finish painting?
Answer comes out to be same as "Me" i,e 20/13 units of execution.
task with x efforts = assume a house with say 100 walls
person A finishes in 2 units of execution, means 2 days, so paints 50 walls in 1 day
person B finishes the same in 10 units of execution, means 10 days, so paints 10 walls in 1 day.
person C finishes the same in 20 unit of execution, means 20 days, so paints 5 walls in 1 day.
If all all work together for the same house, then in one day all paint, 50+10+5=65 walls
So to paint 100 walls they require 100/65 days = 20/13 days or say unit of execution.
x taxk
I believe this is an application of the classic velocity formula:
If that is the case, the setup for the solution is as follows:
The "velocity" of each machine is its processing speed, indicated by a, b, and c above. The "distance" is the amount of effort, that is, x above. With that setup:
So the answer is 20/13 units of execution time.
- Me October 30, 2007