由买买提看人间百态

topics

全部话题 - 话题: aabaaa
(共0页)
m******a
发帖数: 84
1
来自主题: JobHunting版 - 请教一道题
Design an algorithm to find the shortest substring in a synopsis such that
it contains all the words in a provided list.
比如list 是: ["aaa", "aab"]
synopsis是: "aaabaaab"
应该返回 "aabaaa"
这个因为word 之前有可能overlap, 请教各位有什么好办法么?
s*****u
发帖数: 494
2
来自主题: Tennis版 - 澳网有奖竞猜DAY11
AABAAA
d****r
发帖数: 1499
3
来自主题: Tennis版 - 澳网有奖竞猜DAY11
AABAAA
(共0页)