Jane Street interview question

mostly probability and logic problems