Robinhood interview question

Online assessment at a code web