摘要: Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 ["4", "13", "5", "/", "+"] -> (4 + (13 / 5 阅读全文
posted @ 2014-07-22 23:00 PengpengSong 阅读(125) 评论(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". Clarification: What constitutes a word? A sequence of non-spa... 阅读全文
posted @ 2014-07-22 22:23 PengpengSong 阅读(208) 评论(0) 推荐(0) 编辑