![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
旭旭_哥
码农一枚
展开
-
java中leetcode之Reverse Words in a String
原题目 Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". package excise; public class T022 { public static void原创 2015-11-08 20:47:23 · 540 阅读 · 0 评论 -
java中leetcode题目求字符创匹配的问题
最近开始要刷leetcode上的题目,最近面试发现自己诸多不足,以前写算法太依赖与python和R,自此发现自己不足,留下阴影, 给自己一段时间一定要把java编程能写的像SAS python R那样熟练,闲话不说在Leetcode上碰到的第一个题目: Given a string s and a dictionary of words dict, determine if s can b原创 2015-11-08 20:19:09 · 604 阅读 · 0 评论 -
java中leetcode之用Arraylist List实现杨辉三角
要用java ArrayLIsts实现下面的形式,题目是在leetcode上看到的, 1 1 1 1 2 1 1 3 3 1 具体看看用代码怎么实现把: package excise; import java.util.List; import java.util.ArrayList; import java.util.原创 2015-11-06 20:14:39 · 1565 阅读 · 0 评论 -
java leetcode之逆波兰表达式计算四则运算
leetcode上的原题目: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some exampl原创 2015-11-09 21:23:31 · 1162 阅读 · 0 评论