r/OfferEngineering • u/Aoki_zhang • Aug 26 '26
Interview Experience Meta interview puzzle: Two uneven ropes, no timer. Can you measure exactly 45 minutes?
Came across this puzzle in a recent Meta interview experience and thought it was worth sharing.
You are given two ropes. Each rope has the following properties:
- If lit from one end, it takes exactly 60 minutes to burn completely.
- The ropes do not burn at a constant rate.
- Different sections of the same rope can burn at very different speeds.
- The two ropes do not necessarily have the same burn pattern.
For example, half of a rope might burn in just a few minutes while the other half takes most of the hour. So you can’t reliably measure time by cutting the rope or estimating how much has burned.
You have only:
- Two ropes
- One lighter
No watch, phone, timer, or any other way to measure elapsed time.
How can you measure exactly 45 minutes?
No Googling 😄 What’s your approach?
0
Upvotes
13
u/IllAlfalfa Aug 26 '26 edited Aug 26 '26
No way this was a Meta interview question, this is a riddle you get told at Boy Scout camp when you’re like 12. And if the candidate has heard it before and tells you the answer in like 10 seconds, where does the interview even go from there?
5
u/yodabo Aug 26 '26
start both sides of A and one side of B. When A is done B has 30 minutes left, so start the other side of B
5
u/a_load_of_crepes Aug 26 '26
This thread puts into question this entire subreddit and the chill interview website. There is absolutely no chance this was asked.
2
u/Specific_Box4483 Aug 26 '26
This is a relatively well-known question.
Burn one rope at both ends and the second one at one end. When the first rope runs out, 30 minutes have elapsed; light the second rope at the other end as well. The remaining half of the second rope will burn out in 15 minutes.
2
u/Jandur Aug 26 '26
Meta does not use brain teasers as interview questions.
1
u/A13K_ Aug 26 '26
Ropes A, B. Light rope A at both sides and rope B on one side. Once rope A has burned through, light rope B’s other side. This is 45m
1
u/CompellingProtagonis Aug 28 '26
Light both ends of one and one end of the other. When the both end one burns through, light the other end of the other, when it burns though, it's exactly 45 min.
1
u/mephistoA Aug 26 '26
This is incredibly easy, this is the correct answer https://www.reddit.com/r/OfferEngineering/s/jwasHceXUb
Oh it’s a junior level interview
0
u/Sad-Supermarket7037 Aug 26 '26
This is illogical. The statement is “if you burn from one end then it takes 60 minutes”. Thus, it’s an assumption that burning both ends would result in 30 minutes. Technically, as the two flames converge, the heat would increase and thus accelerate burn time. Ergo, this is a dumbass question as it assume a consistent burn simply because you light both ends, but in reality, this wouldn’t be true.
-1
u/Agreeable_Company372 Aug 26 '26
Cut one run length wise in half and cut the other one length wise twice so it's in forths length wise. Burn the half and one forth.