题目:https://leetcode.com/problems/evaluate-reverse-polish-notation/
代码(github):https://github.com/illuz/leetcode
求一个逆波兰式的值。
很经典的栈应用。
对字符串的处理,Python: int(),C++/C: atoi(),Java: Integer.parseInt()。
需要注意的是 Python 的 / 操作。
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
题目:https://leetcode.com/problems/evaluate-reverse-polish-notation/
代码(github):https://github.com/illuz/leetcode
求一个逆波兰式的值。
很经典的栈应用。
对字符串的处理,Python: int(),C++/C: atoi(),Java: Integer.parseInt()。
需要注意的是 Python 的 / 操作。