hasgo icon indicating copy to clipboard operation
hasgo copied to clipboard

Subsequence()

Open DylanMeeus opened this issue 5 years ago • 0 comments

The subsequences function returns the list of all subsequences of the argument.

[a] -> [[a]] 
subsequences "abc"
["","a","b","ab","c","ac","bc","abc"]

DylanMeeus avatar May 22 '19 09:05 DylanMeeus