- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 Leet Code 136 Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra
2016-02-12 15:17:12 783
原创 J2EE开发 原始JDBC开发中的问题总结
在以前开发APP后台Server的时候,使用的是原始的Servlet+JDBC编程。 原始的JDBC编程不利于系统的维护和更新。 总结如下 import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import
2016-02-06 14:38:07 428
原创 LeetCode 1 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, where
2016-02-04 22:43:07 296
原创 LeetCode 191 Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11' has binary representation 000000000
2016-02-04 17:28:12 358
原创 J2EE开发 Spring MVC配置详解(非注解方式和注解方式)
首先,确保自己的开发环境正确 1.JDK 1.7+Spring3.x+Tomcat 2.JDK 1.8+Spring4.x+Tomcat 不能用JDK 1.8去编译Spring 3.x的版本开发,不然你会发现WEB-INF下的classes是空的。没有编译后的字节码文件 不能用JDK 1.8去编译Spring 3.x的版本开发,不然你会发现WEB-INF下的classes是空的。没
2016-02-04 15:37:15 13239 4
原创 J2EE开发 Spring MVC开发诡异错误
javax.servlet.ServletException: Servlet.init() for servlet springmvc threw exception java.lang.IllegalArgumentExceptionorg.springframework.asm.ClassReader.(Unknown Source)org.springframework.asm.Clas
2016-02-03 19:56:37 493
原创 J2EE开发 eclipse中将web工程部署到Tomcat的webApps目录下
eclipse默认使用工作空间下的项目数据,不会自动发布到tomcat的webApps目录下 1.双击server视图中server,打开服务器配置信息窗口 2.将server loaction选择为User Tomcat installation,serverpath也会跟着变,同时,将Deploy path修改为webapps,默认为wtpwebapps 注意:当server下含有工程的
2016-02-03 15:47:18 435
原创 SCU 1114 数字三角
C - 数字三角 Time Limit:0MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice SCU 1114 Description 下图是个数字三角,请编写一个程序计算从顶部至底部某处一条路径,使得该路径所经过的数字总和最大。 7 3 8 8
2016-02-01 23:19:16 496
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人