Last active
November 2, 2021 10:27
-
-
Save karimmakhloufi/f14782c15663410bea8ff1b1daea3a6a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
Create an algorithm to display all combinations of a given character set and length | |
Example: | |
Input: | |
character set: a, b, c | |
length: 2 | |
Output: a, b, c, aa, ab, ac, ba, bb, bc, ca, cb, cc | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment