find minimum sum of non-neighbouring K entries inside an array

前端 未结 0 797
灰色年华
灰色年华 2021-01-28 12:56

given an array -call it A- of integers of size N, find minimum sum of K non-neighboring entries (entries cant be adjacent to one another, for example, if K was 2, you cant add A

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