1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/heap-algorithm/README.md

442 B

heap-algorithm

Created by @theoludwig 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.