TwitterJaya Interview Question

- Design a clock algorithm