摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words 题目描述 给定一个字符串 s 和一些 长度相同 的单词 words 。找出 s 中恰好可以由 words 中所有单 阅读全文
posted @ 2022-03-17 15:05 过客匆匆,沉沉浮浮 阅读(37) 评论(0) 推荐(0)
摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/next-permutation 题目描述 整数数组的一个 排列 就是将其所有成员以序列或线性顺序排列。 例如,arr = [1,2,3] ,以下这些都可以视作 arr 的排列:[1,2,3]、[1 阅读全文
posted @ 2022-03-17 11:43 过客匆匆,沉沉浮浮 阅读(36) 评论(0) 推荐(0)