AlgoMaster Logo

Greatest Common Divisor of Strings

str1=ABCABC,str2=ABC
0 / 6
algomaster.io
Step:Start: find the GCD string of "ABCABC" and "ABC"