Robinhood Interview Question

Match orders in the order book.