Thread
:
Partition + Grouping
View Single Post
#
1
Posted to microsoft.public.excel.programming
Longshot
external usenet poster
Posts: 2
Partition + Grouping
Hi All,
I'd like to have a program that calculates all the partitions of a
string as follows:
The partitions of (1, 2, 3) should be:
((1, 2, 3))
((1, 2), (3))
((1, 3), (2))
((1), (2, 3))
((1), (2), (3))
Thanks in advance,
Ram.
Reply With Quote
Longshot
View Public Profile
Find all posts by Longshot