Question: Publicis Sapient | SDE | 15 December Given 2 strings 's' and 't', check if 't' divides 's' :
If it divides, return length of smallest substring that divides both 's' and 't'
"abxabx" divides "abxabxabxabx", but doesn't divides "abxabxabx"
Length =3
Login before adding your answer.