Efficient algorithm for enumerating subsets of size k

后端 未结 0 2020
一整个雨季
一整个雨季 2021-01-20 05:09

Is there a way to enumerate the subsets of a set S (given as array) of size equals to k in such a way that it takes O(n^k) time where

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