Pergunta de entrevista da empresa Jane Street

Difficult functional programming questions.