+ 1

A program to give all the subsets of a set initialised as a table. In C or C++

15th Dec 2017, 5:06 PM
Roy Mutia
Roy Mutia - avatar
5 Réponses
+ 2
Gimmie example like output
15th Dec 2017, 5:27 PM
RR2001
RR2001 - avatar
+ 2
This is similar to permutation of string. Let's say you have ABC. Permutations are A, B,C, AB,B C, AC, ABC
23rd Dec 2017, 4:17 PM
RR2001
RR2001 - avatar
+ 1
and the output sorry
17th Dec 2017, 4:45 PM
Roy Mutia
Roy Mutia - avatar
0
https://stackoverflow.com/questions/36398954/power-set-of-large-set You may use any of the algorithms listed here.
15th Dec 2017, 5:27 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
- 1
example : the user inputs 123 and the input is (1), (2), (3), (1, 2), (1,3), (2,3), (1,2 3)
17th Dec 2017, 4:45 PM
Roy Mutia
Roy Mutia - avatar