摘要:
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the 阅读全文
posted @ 2016-10-03 23:23
wxquare
阅读(147)
评论(0)
推荐(0)
摘要:
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist 阅读全文
posted @ 2016-10-03 23:17
wxquare
阅读(143)
评论(0)
推荐(0)
摘要:
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. 阅读全文
posted @ 2016-10-03 16:27
wxquare
阅读(156)
评论(0)
推荐(0)
摘要:
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 阅读全文
posted @ 2016-10-03 16:26
wxquare
阅读(160)
评论(0)
推荐(0)
摘要:
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another e 阅读全文
posted @ 2016-10-03 11:38
wxquare
阅读(138)
评论(0)
推荐(0)
摘要:
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the lo 阅读全文
posted @ 2016-10-03 10:46
wxquare
阅读(135)
评论(0)
推荐(0)

浙公网安备 33010602011771号