Robinhood interview question

Develop a roadmap for this program