Google Interview Question

I was asked to design a like button.