Meesho asked implementation of stock exchange, where sell or buy orders will be added and Orderbook will match the orders Take care of concurrency
You can get the problem description and solution on git with a simple search on google