1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00
programming-challenges/challenges/heap-algorithm
2021-11-08 16:56:46 +01:00
..
solutions feat(solutions): add heap-algorithm/c/function 2021-11-08 16:56:46 +01:00
test feat(challenges): add heap-algorithm 2021-11-08 16:56:22 +01:00
README.md feat(challenges): add heap-algorithm 2021-11-08 16:56:22 +01: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.