摘要: Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"简化路径,linux下面简单的路径操作而已,代码... 阅读全文
posted @ 2015-10-16 22:12 eversliver 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express... 阅读全文
posted @ 2015-10-16 20:50 eversliver 阅读(325) 评论(0) 推荐(0) 编辑