Point72 interview question

A simple coding question regarding price series.