摘要: Q: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 has length = 2.Another example is")()())", where the longes 阅读全文
posted @ 2013-09-25 23:35 summer_zhou 阅读(169) 评论(0) 推荐(0) 编辑