Rosetta Problems

Apply Substitutions

https://leetcode.com/problems/apply-substitutions