google | phone | subtring of a very long string
Anonymous User
500

you are given an array of strings, and a very long string (can not be loaded into memory)?
return all strings, which are the substring of the long string, in the array .

for example,
text = 'thisisstevenjobsasdfgwdfhh'
input = ['steve', 'student', 'job']
return ['steve', 'job']

Comments (3)