Topic: Stack Problem / Level: advanced

Problem: Write a stack-based system to solve the knapsack problem with an additional constraint on weight distribution.

Run the code to see the output here...