As reported: Goldman Sachs Associate (SDE-II) system design round (2025): a verbal LLD of an over-simplified stock market (no coding), then extending it to an HLD with database transactions and locking; resume grilling.
Design an over-simplified stock market: traders place buy and sell orders for stocks; orders are matched; trades update balances and holdings.
- Low-level design (verbally): the classes and how an order is matched.
- Extend it to a high-level design: services and storage, with database transactions and locking so balances and holdings stay correct under concurrent orders.