Google interview question

I was asked to design a like button.