How to solve Google's clock hands interview riddle