Google interview question

How are 2 time series different from one another. write a code