Google Interview Question

This was a case interview