Domanda di colloquio di Robinhood

Incredibly easy probability questions, more difficult SQL