Google Interview Question

How would you implement the GO api?