LeetCode
Greatest Common Divisor of Strings
Click
here
for an explanation.