Given an array of integers, find the subset sum closest to K

前端 未结 0 1957
死守一世寂寞
死守一世寂寞 2021-02-20 17:26

I know this is a knapsack problem where the weights and values are equal but I think I am making a mistake in my coding logic, since its taking too long to complete even for a p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题