Optiver Interview Question

How would you design this system that does this thing?