Last active
August 27, 2015 23:42
-
-
Save imarban/e71ee4362a0a16282b16 to your computer and use it in GitHub Desktop.
Get all the permutations of a word
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This code aims to get all the permutations of a word. | |
e.g. If the "abc" string is received, the otuput will be ["abc", "bca", "cba", "cab", "acb", "bac"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment