LeetCode: 1071-Greatest Common Divisor of Strings 解題紀錄
Last Updated on 2023-02-02 by Clay
題目
For two strings s and t, we say “t divides s” if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times).
Last Updated on 2023-02-02 by Clay
For two strings s and t, we say “t divides s” if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times).