Jane Street Interview Question

how to design a car replacement program