Robinhood interview question

The online test covered Coding (R & SQL), Conditional Probs, Statistics