Code Problem of the Week - Calculating Average Bed Times
One of the features of the software I work on is it's ability to tell you how well/poor you slept during the night. The software can also automatically calculate when you went to sleep and when you woke up. We're currently working on a way to automatically calculate bed…