Taxbit interview question

Design a system index BUY/SELL transactions.