Given a source string and a target string, find the first occurrence index of every character in the target string within the source string. Then, return the substring between the minimum and maximum…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.