Robinhood interview question

program architecture