Permutations
Try to solve the Permutations problem.
We'll cover the following
Statement
Given an input string, word
, return all possible permutations of the string.
Note: The order of permutations does not matter.
Constraints:
-
All characters in
word
are unique. -
word.length
-
All characters in
word
are lowercase English letters.
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy