Prizeout Interview Question

Object oriented programming design problem