Robinhood interview question

Incredibly easy probability questions, more difficult SQL