Medtronic Interview Question

How would you design a circuit to do this?