Jane Street interview question

come up with optimal strategy