2014年5月6日
摘要: 题目: 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", "+", "3"... 阅读全文
posted @ 2014-05-06 13:26 JessiaDing 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". 整体不是很难。里面java自带的spilt函数就可以将字符串分开。不过在过程中还是未考虑到一些特殊的情况。 比如... 阅读全文
posted @ 2014-05-06 12:01 JessiaDing 阅读(113) 评论(0) 推荐(0) 编辑