合并箱子重量 —— 亚马逊 2022 面试题
#leetcode #算法
题目
Consider n packages, where packageWeights[i] represents the weight of the i th package, You can combine i th and i+1 th package if packageWeights[i] <packageWeights[i+1] and then discard the i th package. After this operation numbe...
blog.vning.vip2 min read