Jane Street Interview Question

Class Design OOP given high level abstraction