摘要:
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest possible ord... 阅读全文
posted @ 2017-01-24 15:51
copperface
阅读(194)
评论(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) in s that is a concatenation of each word in words exactly once and wi... 阅读全文
posted @ 2017-01-24 12:42
copperface
阅读(249)
评论(0)
推荐(0)
浙公网安备 33010602011771号