You are working at CarrotMarketplace Inc. which is a company that organizes a carrot market.
There are some sellers that would like to sell their carrots. There are some buyers that would like to buy some carrots.
You are asked to store :
- buyers' buying intentions
- sellers' selling intentions
Then, you will need to retrieve the supply and demand curves and find the matching price.
Here is an example of such a curve :