摘要: 题目: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in t 阅读全文
posted @ 2019-02-24 15:39 林木声 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 题目: Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or anothe 阅读全文
posted @ 2019-02-24 15:30 林木声 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) – Push element x onto stack. pop() – R 阅读全文
posted @ 2019-02-24 15:19 林木声 阅读(109) 评论(0) 推荐(0) 编辑