摘要: Q:给定一个字符串s和一组单词dict,在s中添加空格将s变成一个句子,使得句子中的每一个单词都是dict中的单词 返回所有可能的结果 例如:给定的字符串s ="catsanddog", dict =["cat", "cats", "and", "sand", "dog"]. 返回的结果为["cat 阅读全文
posted @ 2020-03-10 18:31 Shaw_喆宇 阅读(241) 评论(0) 推荐(0)