String Divisibility and Smallest Divisor Length Problem

2021(Jul - Sep)Software EngineerMasterFulltime| Fail| JobHopper

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