ADP interview question

Alarm clock design and implementation