Your job is to measure 45 minutes if you have only two cords and matches to light the cords.
1. The two cords are twisted from various materials, so their different segments can burn at different rates.
2. Each cord burns from end to end in exactly one hour.
I went to the bookshop and spent one-half of the money that was in my purse.
When I came out, I found that I had as many cents as I had dollars and half as many dollars as I had cents when I went in. Find the money in my purse when I entered the store.