Valkyrie Trading interview question

Typical probability, combinatorics, and python, with added SQL.