棋子

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

01 2016 档案

Substring with Concatenation of All Words
摘要:原题链接You are given a string,s, and a list of words,words, that are all of the same length. Find all starting indices of substring(s) insthat is a conca... 阅读全文

posted @ 2016-01-19 00:57 鼬与轮回 阅读(211) 评论(0) 推荐(0) 编辑

Subsets 子集系列问题 leetcode
摘要:子集系列问题:Coding 问题中有时会出现这样的问题:给定一个集合,求出这个集合所有的子集(所谓子集,就是包含原集合中的一部分元素的集合)。或者求出满足一定要求的子集,比如子集中元素总和为定值,子集元素个数为定值等等。我把它们归类为子集系列问题。leetcode上原题链接:思路分析:思路一可以用递... 阅读全文

posted @ 2016-01-04 00:49 鼬与轮回 阅读(728) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示