Virtu Financial Interview Question

Q: Solve this