[contest 111]943. Find the Shortest Superstring
Given an array A of strings, find any smallest string that contains each string in A as a substring.
We may assume that no string in A is substring of another string in A.
Example 1:
Input: [“alex”,“l...
原创
2018-11-20 00:02:00 ·
181 阅读 ·
0 评论