Find the strings in an array that can be built from other strings in the array.
Unlock detailed company stats for this questionUpgrade
Given an array of strings such as ["catdog", "cat", "dog"], find the strings that can be segmented into smaller strings that are also present in the array.
Example: catdog = cat + dog.
Format · Pen and paper, onsite.
Community answers
No answers contributed by the community yet.
Related questions
Write a bash script that finds the sum of the integers in an array of strings.Given an array and k, find the maximum subarray sum from index i to j such that |a[i] - a[j]| = k.Find the first non-repeating character in an array.Related courses

Course

Course
Course
