Suppose, a set [0,1,2]
How can I get all the list of sets that if join together, it results= [0,1,2]
Those subsets could be,
[[0],[1],[2]]
[[0,1],[2]]
[[0],[1,2]]
[[1],[0,2]]
[[0,1,2]]
提前致谢。
Suppose, a set [0,1,2]
How can I get all the list of sets that if join together, it results= [0,1,2]
Those subsets could be,
[[0],[1],[2]]
[[0,1],[2]]
[[0],[1,2]]
[[1],[0,2]]
[[0,1,2]]
提前致谢。