threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 1071. Greatest Common Divisor of Strings #1348

Closed threeal closed 1 month ago

threeal commented 1 month ago

This issue suggests solving the problem 1071. Greatest Common Divisor of Strings. To achieve this, one can simply check all possibilities from the largest size of the common divisor to the smallest size (empty string).