Blockchain interview question

Building Orderbook Add (side, px, size) Update(px, side) delete(px)

Interview Answer

Anonymous

27 June 2021

First build using hashmap and then using vector with limited levels vector index represents price, qty is either + or - represents side