Robinhood interview question

Graph, currecny exchange sorta question