lichao_normal

导航

2016年12月7日 #

Next Permutation

摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possib 阅读全文

posted @ 2016-12-07 20:47 lichao_normal 阅读(130) 评论(0) 推荐(0) 编辑

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) in s that is a conca 阅读全文

posted @ 2016-12-07 15:55 lichao_normal 阅读(289) 评论(0) 推荐(0) 编辑