Skip to content

A simple algorithm for the hourglass riddle. From user input we calculate whether a desired time is possible to measure given the two different hourglasses. User inputs minutes for both hourglasses and desired time, which has to start from the beginning, when we turn one or both of the hourglasses.

awagnerur/hourglass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hourglass

A simple algorithm for the hourglass riddle. From user input we calculate whether a desired time is possible to measure given the two different hourglasses. User inputs minutes for both hourglasses and desired time, which has to start from the beginning, when we turn one or both of the hourglasses.

About

A simple algorithm for the hourglass riddle. From user input we calculate whether a desired time is possible to measure given the two different hourglasses. User inputs minutes for both hourglasses and desired time, which has to start from the beginning, when we turn one or both of the hourglasses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages