Apps Interview Questions

1,644 apps interview questions shared by candidates

Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person A can cross the bridge in 1 minute, B in 2 minutes, C in 5 minutes, and D in 8 minutes. When two people cross the bridge together, they must move at the slower person's pace. What is the fastest way to get all four people to the other side of the bridge?
avatar

App Developer

Interviewed at Visible Body

3.9
Jan 21, 2020

Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person A can cross the bridge in 1 minute, B in 2 minutes, C in 5 minutes, and D in 8 minutes. When two people cross the bridge together, they must move at the slower person's pace. What is the fastest way to get all four people to the other side of the bridge?

Viewing 221 - 230 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,644 interview questions and reports from Apps interviews. Prepare for your interview. Get hired. Love your job.