Pacestock - SDE Intern + PPO - On Campus Minimum Cost to Achieve at Least a Given WeightProblem StatementYou are given an integer array cost of length n, where cost[i] represents the cost of an item with weight 2^i.The available item weights are powers of two: 1, 2, 4, 8, 16, ....You can pu