Design an order book that holds order records, each with an exchange, a price, a quantity and a side (bid or ask), and answers two queries: - get_exchange_bbo(exchange) returns (best_bid, best_ask) for one exchange: its highest bid price and its lowest ask price (the Best Bid and Offer). - get_nbbo()…