上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: import org.junit.Test;public class NthUglyNumber { /** * @param n: An integer * @return: the nth prime number as descriptio... 阅读全文
posted @ 2018-08-07 23:01 wei1 阅读(94) 评论(0) 推荐(0) 编辑
摘要: import org.junit.Test;import java.util.Arrays;import java.util.List;public class FizzBuzz { /** * @param n: An integer * @r... 阅读全文
posted @ 2018-08-07 23:00 wei1 阅读(113) 评论(0) 推荐(0) 编辑
摘要: import org.junit.Test;public class DigitCounts { /* * @param : An integer * @param : An integer * @return: An integer d... 阅读全文
posted @ 2018-08-07 22:59 wei1 阅读(90) 评论(0) 推荐(0) 编辑
摘要: public class BinarySearch { /** * @param nums: The integer array. * @param target: Target to find. * @return: The fir... 阅读全文
posted @ 2018-08-07 22:27 wei1 阅读(87) 评论(0) 推荐(0) 编辑
摘要: import org.junit.Test;public class AplusB { /** * @param a: An integer * @param b: An integer * @return: The sum of a a... 阅读全文
posted @ 2018-08-07 22:26 wei1 阅读(149) 评论(0) 推荐(0) 编辑
摘要: package dp;import org.junit.Test;public class NumWays { /** * @param n: non-negative integer, n posts * @param k: non-negat... 阅读全文
posted @ 2018-08-07 22:25 wei1 阅读(121) 评论(0) 推荐(0) 编辑
摘要: import org.junit.Test;public class IsInterleave { /** * @param s1: A string * @param s2: A string * @param s3: A string... 阅读全文
posted @ 2018-08-07 21:47 wei1 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/llguanli/p/7363657.html二叉树是一种非常重要的数据结构,非常多其他数据结构都是基于二叉树的基础演变而来的。对于二叉树,有深度遍历和广度遍历,深度遍历有前序、中序以及后序三种遍历方法,广度遍... 阅读全文
posted @ 2018-08-06 21:59 wei1 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 路径为相对路径,在转发后以servlet的路径为依据找不到文件,使用绝对路径就是以项目名开头的路径thymeleaf中使用 th:src="@{/asserts/img/bootstrap-solid.svg}" 以/开头解析后默认添加了项目的项目名 jsp文件使用 ... 阅读全文
posted @ 2018-08-05 22:12 wei1 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 使用thymeleaf模板的时候,跳转页面的时候老是不成功。目标是让跳转到success.html页面。但是结果页面老是返回sucess。而不是跳转到index.html页面。找了半天差错,发现是注解使用的是@RestController 应该使用@Controll... 阅读全文
posted @ 2018-08-03 01:29 wei1 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页