Software Interview Questions

551,308 software interview questions shared by candidates

You have two strings and a lighter. Each string takes one hour to burn, but they burn at variable rates. So for example, after 30 minutes, you have no idea how much of the string has burnt. Using just the two strings and the lighter, determine when exactly 45 minutes have passed.

Software Engineer

Interviewed at Business Logic

4
Mar 19, 2009

You have two strings and a lighter. Each string takes one hour to burn, but they burn at variable rates. So for example, after 30 minutes, you have no idea how much of the string has burnt. Using just the two strings and the lighter, determine when exactly 45 minutes have passed.

Viewing 2571 - 2580 interview questions

Glassdoor has 551,308 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.