自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

通往花开的路上

努力学习,天天向上

  • 博客(8)
  • 资源 (5)
  • 收藏
  • 关注

原创 java 静态内部类和Builder模式

1. 概念 在java中可以在类内部定义静态内部类。可以用于构建多参数的对象,并且保证类的一致性。 2. 与非静态内部内的区别 静态内部类与非静态内部类的区别如下: 在非静态内部类中不可以声明静态成员。只有静态内部类才能够定义静态的成员变量与成员方法。非静态内部类,可以随意的访问外部类中的成员变量与成员方法。静态内部类只能引用外部类中的静态的成员(变量或方法),而不能够访问非静态的

2015-10-30 22:29:10 4432

原创 leetcode 287:Find the Duplicate Number 二分法查找 java版

二分法查找重复数

2015-10-29 17:14:12 863

转载 leetcode 233: Number of Digit One

Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example: Given n = 13, Return 6, because digit 1 occurred in the follow

2015-10-29 16:17:11 406

原创 leetcode:Copy List with Random Pointer 细致分析,以及代码实现(JAVA版本)

深度复制链表 java实现

2015-10-29 15:20:35 382

原创 leetcode 23:Merge k Sorted Lists

Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 题目分析:两个链表的链接会不会,归并排序,复杂度为O(N),N为节点数。 多个链表排序,两个两个归并,再归并,这样相当于做了logK层,每一层都为N,则复发度为o(NlogK), public

2015-10-25 21:23:01 283

原创 leetcode:ExpressionAddOperators282 细致讲解 以及代码实现

Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the digits so they evaluate to the target value.

2015-10-24 14:27:19 1198

原创 leetcode 295:Find Median from Data Stream

Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two middle value. Examples:  [2,3,4] , the median

2015-10-23 17:13:29 369

原创 leetcode 29:Divide Two Integers

leetcode 29:Divide Two Integers java源码实现

2015-10-15 22:33:15 339

互联网2016各岗位面试合集

包括互联网公司的各种面试经验

2016-03-16

SQLserverg各种查询语句

SQL各种查询语句,SELECT源代码,里面包含老师所讲的各种案例

2013-06-03

SQLserver 2008 安装 创建表 删除表 等基本操作

SQLserver 2008 安装 创建表 删除表 等基本操作,实验报告,每步都有截图,还有源码,很完整

2013-05-30

空空如也

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

TA关注的人

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