Point72 interview question

R2 after doubling the dataset