Group Knapsack with Non-Adjacent Groups - INFOSYS OA Question | OAHelper