Robinhood interview question

I didn't get past the CodeSignal