
C++
柯森锎
92年的小学生
展开
-
LeetCode 8. String to Integer (atoi)
题目描述Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cas原创 2016-09-23 22:40:16 · 347 阅读 · 0 评论 -
LeetCode 32. Longest Valid Parentheses(hard)
题目描述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原创 2016-09-29 18:59:08 · 352 阅读 · 0 评论