Demandbase Interview Question

design and coding question , this was an open ended problem