Greatest Common Divisor of Strings

Greatest Common Divisor of Strings - Coding Problem | K5kC