Medidata Solutions Interview Question

design a payments discount application