leetcode
wybwangsky
这个作者很懒,什么都没留下…
展开
-
Leetcode-Evaluate Reverse Polish Notation-java
题目:Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examples: ["2", "1",原创 2014-05-19 22:07:02 · 482 阅读 · 0 评论 -
Leetcode-Reverse Words in a String -java
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Clarification:What constitutes原创 2014-05-19 18:57:30 · 710 阅读 · 0 评论 -
Leetcode-Best Time to Buy and Sell Stock -java
题目:Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examples: ["2", "1转载 2014-05-28 18:45:44 · 780 阅读 · 0 评论