Jane Street interview question

Jumped into the coding interview with no prep