I was wondering if there was a way to find all the permutations of an slice filled with characters in Go?
In Python you can use itertools.product
with a list or characters or integers, and you can get all the possible permutations.
I have looked to see if there is a package out there, and I cannot seem to find one. Any help would be welcomed.
Permutations of anything implementing sort.Interface
: Permutation{First,Next}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With