InMobi interview question

Blocking queue implementation in Java Knapsack problem