- Node 18+
npm install
Find all permutations of an input string.
Question | Answer |
---|---|
Can we assume the string is ASCII? | Yes |
Can the input have duplicates chars? | Yes |
Can the output have duplicates chars? | Yes - if the input does it must. |
Is the output a list of strings? | Yes |
Can the output have duplicates strings? | No |
Do we have to output the results in sorted order? | No |
Can I add additional npm packages? | Yes |