Google interview question

Experiment design