The document contains C++ code definitions for several string manipulation functions:
- FirstUnduplicated finds the first non-duplicated character in a string using a hash map to track duplicates.
- StringPerms returns whether it can permute the characters of a string by iteratively swapping the first and last character until a permutation is found or the first character reaches the beginning.
- FindDuplicateChars returns a string containing all duplicated characters in the input string by tracking duplicates in a hash map.
- ReverseString recursively reverses the order of characters in a substring.
- ReverseStringofWords reverses the entire input string and then the characters within each individual word separated by spaces.