摘要: map即一个键值对应的数组,可以用键而不仅仅是数字作为索引。初始化:map mapOfVec; 新建了一个string为键int为值的map可以使用mapOfVec[“键”] = “值” 来进行赋值mapOfVec.count(k) 方法返回 Key为 k的元素个数,若无则返回0mapOfVec.c... 阅读全文
posted @ 2015-11-09 10:59 熊阳 阅读(238) 评论(0) 推荐(0)
摘要: 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 concatena... 阅读全文
posted @ 2015-11-09 10:44 熊阳 阅读(5291) 评论(0) 推荐(0)