Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 296 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 296 Bytes

permutation-string

Write a recursive function for generating all permutations of an input string and returns them as a set.

Don't worry about time or space complexity, if we wanted efficiency we'd write an iterative version.

Your function can have loops, it just needs to also be recursive.