Prime Quadrant interview question

Solved a case study for an allocation case