Merging Strings and Algorithms