bitFlyer Interview Question

0/1 Knapsack, OOPS concepts, Java, data structures