combinations algorithm

后端 未结 3 1228
攒了一身酷
攒了一身酷 2020-12-06 14:00

I want to make simple sorting algorithm.

given the input \"abcde\", I would like the output below. could you tell me the algorithm for that?

arr[0] =         


        
3条回答
  •  抹茶落季
    2020-12-06 14:16

    An algorithm for "generating Power Set" from an array is what you are looking for. You can try Google or some other search engine to find the algorithm that best fits your needs.

提交回复
热议问题