2014年6月9日
摘要: Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the longest valid parentheses substring is "()", which ... 阅读全文
posted @ 2014-06-09 16:52 JessiaDing 阅读(103) 评论(0) 推荐(0) 编辑
摘要: You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an... 阅读全文
posted @ 2014-06-09 11:35 JessiaDing 阅读(138) 评论(0) 推荐(0) 编辑