1408. String Matching in an Array
Given an array of string
words
, return all strings inwords
that is a substring of another word. You can return the answer in any order.A substring is a contiguous sequence of characters within a string
c++
1 | class Solution { |