One comment

  • Assumptions:
    1) No time will be taken in refilling the hourglass.
    2) As soon as the hourglass gets empty,it is refilled.

    1) at 4th minute , firsthourglass would get empty
    2) at 7th minute second hourglass would get empty
    3) at 8 minute first hourglass would get empty
    4) at 12 minute first hourglass would get empty

    Now at 12thminute , there are 2 minutes left in getting the secondhourglass empty,(at 14th minute it would be empty)

    So in this duration egg can be boiled.

Leave a Reply

Your email address will not be published. Required fields are marked *

For Inserting code :
Paste your code in the comment form, select it and then click the language link

C | C++ | Java |

*