Google interview question

Too many to include them.