Problem
Ask
Submissions

Problem: Permutations

Medium
30 min
Explore how to generate all possible permutations of a given string with unique lowercase characters. This lesson helps you understand the problem constraints, develop the solution logic, and practice implementing it in a coding environment to strengthen your coding interview skills.

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.

  • 11 \leq word.length 6\leq 6

  • All characters in word are lowercase English letters.

Problem
Ask
Submissions

Problem: Permutations

Medium
30 min
Explore how to generate all possible permutations of a given string with unique lowercase characters. This lesson helps you understand the problem constraints, develop the solution logic, and practice implementing it in a coding environment to strengthen your coding interview skills.

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.

  • 11 \leq word.length 6\leq 6

  • All characters in word are lowercase English letters.