# heap-algorithm Created by [@theoludwig](https://github.com/theoludwig) on 8 November 2021. ## Instructions Write a program that generates all possible unique permutations of a string. ## Source - [Heap's Algorithm - Wikipedia](https://en.wikipedia.org/wiki/Heap%27s_algorithm) ## Examples ### Example 1 #### Input ```txt abc ``` #### Output ```txt abc bac cba bca cab acb ``` See the `test` folder for examples of input/output.