LeetCode
MrWrong
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe原创 2014-04-15 10:59:00 · 540 阅读 · 0 评论 -
LeetCode Reverse Polish Notation求逆波兰表达式值
public class Solution { public static int evalRPN(String[] tokens) { Stack stack = new Stack(); String operatorsString = "+-*/"; for(int i = 0 ; i < tokens.length ; i++) { if(!operatorsStr原创 2014-04-15 14:18:09 · 601 阅读 · 0 评论
分享