自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(10)
  • 收藏
  • 关注

原创 Maximum Product Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the largest

2014-12-08 22:28:53 608

原创 Intersection of Two Linked Lists

For example, the following two linked lists: A: a1 → a2 ↘ c1 → c2 → c3 ↗ B: b1 → b2 → b3 begin to intersect at

2014-12-03 15:55:03 1644

原创 Find Minimum in Rotated Sorted Array

Suppose a sorted array is rotated at some pivot unknown to you beforehand. 算法分析: 给定一个数组[a1,a2,a3……,an-1,an],不存在重复元素,求出其最小的元素。 首先想到O(n)的算法,即遍历一次。 看看O(logn)的算法: 因为给定数组是排序数组经过旋转而得到的,因此若a1 > an,则该数组必

2014-12-03 15:05:55 623

原创 Spring AOP的实现原理之代理创建

在上一篇文章中,已经匹配当分析了增强器的获取

2014-04-13 23:56:48 3419

原创 Spring AOP的实现原理之获取增强器Adivors

在讲解自定义标签时,提到了

2014-04-13 15:34:59 3473

原创 Spring AOP的实现原理之<aop:aspectj-autoproxy />的解析

本文主要针对注解形式的AOP作分析,j

2014-04-11 19:45:14 38593 2

转载 Struts2 Hibernate Spring 运行流程与部分机制

Struts2 Hibernate Spring 运行流程与部分机制 Tomcat容器被加载,找到该webApplication相对应的web.xml 开始解析web.xml中的信息 读取到一个spring的监听器,告诉spring容器开始初始化配置文件中的信息,spring容器配置文件默认applicationContext.xml www.2cto.com org.sprin

2014-01-19 14:53:09 979

转载 cookie机制和session机制的区

一、cookie机制和session机制的区别 ************************************************************************************* 一、cookie机制和session机制的区别 **************************************************************

2013-11-26 09:02:41 814

原创 java程序链接sql server

java程序链接sql server的方法有两种: 1、通过jdbc-odbc桥驱动器进行链接。 链接步骤: a、进行数据源的配置(win7) 控制面板——系统和安全——管理工具——数据源ODBC     点击添加     选择SQL Server     名称要填,这个将在java程序里会用到。 服务器就填个.代表本地数据库   选择使用用户输入登录I

2012-12-10 19:57:48 780

原创 String

How does it work? Let's look at the bytecode! The compiler takes your code: String s = null; s = s + "hello"; System.out.println(s); // prints "nullhello" and compiles it into bytecode as if you had

2012-12-10 19:20:58 450

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除