摘要: You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You ca 阅读全文
posted @ 2021-05-23 17:39 乐乐章 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 给定一个字符串 s 和一些 长度相同 的单词 words 。找出 s 中恰好可以由 words 中所有单词串联形成的子串的起始位置。 注意子串要与 words 中的单词完全匹配,中间不能有其他字符 ,但不需要考虑 words 中单词串联的顺序。 示例 1: 输入:s = "barfoothefoob 阅读全文
posted @ 2021-05-23 16:54 乐乐章 阅读(45) 评论(0) 推荐(0) 编辑