Google Interview Question

I did a Code review