Site Message

Only Premium Users can view the Question

Site Message

Only Premium Users can view the Question

Site Message

Only Premium Users can view the Question

Site Message

Only Premium Users can view the Question

Site Message

Only Premium Users can view the Question

Site Message

Only Premium Users can view the Question

Question: Publicis Sapient | SDE | 15 December
0
Entering edit mode

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

ADD COMMENTlink 5.4 years ago mod2 870

Login before adding your answer.

APPLY NOWSimilar Posts
Loading Similar Posts