Creating all possible combinations by taking k no: of items from an array with n no: of items in C++

后端 未结 0 1902
迷失自我
迷失自我 2021-01-28 13:06

I\'m looking for a way to insert an array with length n and get all possible combinations with length k. The elements can repeat.

If the no: of elements in the array = n

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