Problem 484 · Medium
Construct a permutation from a string of D (decrease) and I (increase) characters.
Open the interactive visualisation