Leaf Group Interview Question

Clock Hands problem on white board