5 lines
164 B
Text
5 lines
164 B
Text
fcn brokenSubsequences(str){
|
|
pwerSet(str.split("")).apply("concat")
|
|
.filter('wrap(substr){ (not str.holds(substr)) })
|
|
}
|
|
brokenSubsequences("1234").println();
|