Why is this memoization faster with an array than with a map?

后端 未结 0 1578
面向向阳花
面向向阳花 2021-01-24 04:37

I was solving combination sum IV on leetcode (#377), which reads: "Given an integer array with all positive numbers and no duplicates, find the number of possible combinati

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