Robinhood Interview Question

Incredibly easy probability questions, more difficult SQL