typestatusdateslugsummarytagscategoryiconpassword创建时间Dec 6, 2024 11:35 AM对于字符串 s 和 t,只有在 s = t + t + t + ... + t + t(t 自身连接 1 次或多次)时,我们才认定 “t 能除尽 s”。给定两个字符串 str1 和 str2 。返回 最长字符串 x,要求满足 x 能除尽 str1 且 x 能除尽 str2 。https://leetcode.cn/problems/greatest-common-divisor-of-strings/description/📎 参考无