Pocket Gems Interview Question

O(1) mutable string