Google Interview Question

Design an alarm clock with 3 buttons