Jane Street interview question

highly technical