String Divisibility and Smallest Divisor Length Problem
Determine if string s is divisible by string t and find the length of the smallest string u divisible by both. Return -1 if not divisible.
Determine if string s is divisible by string t and find the length of the smallest string u divisible by both. Return -1 if not divisible.
Please log in to view interview details