Optiver interview question

Refer hard logic problems on combinatorics on brilliant.org