Robinhood interview question

coding question on no orders backlog