Philips interview question

Design clock alarm