Topic: You have two ropes, and each takes exactly one hour to burn. How would you use them to time exactly 15 minutes? (Ropes are of uneven densities).
// Rule 1: Given a rope that takes x minutes to burn and another that takes y minutes, we can time x+y minutes.
Rule 2: Given a rope that takes x minutes, we can time x/2 minutes. (burn from both ends)
Rule 3: If rope 1 takes x minutes to burn and rope 2 takes y minutes, we can turn rope 2 into a rope that takes(y-x) minutes or (y-x/2) minutes.