mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-13 23:22:49 +02:00
heap-algorithm
Created by @Divlo on 8 November 2021.
Instructions
Write a program that generates all possible unique permutations of a string.
Source
Examples
Example 1
Input
abc
Output
abc
bac
cba
bca
cab
acb
See the test
folder for examples of input/output.