摘要: link Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algori 阅读全文
posted @ 2017-10-02 22:15 bbbbq 阅读(107) 评论(0) 推荐(0) 编辑
摘要: link Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", t 阅读全文
posted @ 2017-10-02 21:02 bbbbq 阅读(105) 评论(0) 推荐(0) 编辑
摘要: link 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 阅读全文
posted @ 2017-10-02 20:22 bbbbq 阅读(133) 评论(0) 推荐(0) 编辑