Smarkets interview question

Forgot question 1 but it was an easy question