Robinhood interview question

Those were average CodeSignal questions