TwitterJaya interview question

- Design a clock algorithm