自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

kker的博客

保持初心

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

原创 数据结构:排序算法总结

排序方式排序的稳定性:假设ki=kj(1≤i≤n,1≤j≤n,i≠j)k_i=k_j (1\le i\le n,1\le j\le n,i\not =j),且在排序前的序列中rir_i领先于rjr_j(即i < j)。如果排序后rir_i仍领先于rjr_j,则称所用的排序方法是稳定的;反之,是不稳定的。 内排序和外排序:内排序是在排序整个过程中,待排序的所有记录全部被放置在内存中。外排序是由于排序

2016-03-29 15:28:28 617

原创 数据结构:散列表

散列表散列技术是在记录的存储位置和它的关键字之间建立一个确定的对应关系f,使得每个关键字key对应一个存储位置f(key)。 我们把这种对应关系f称为散列函数,又称为哈希(Hash)函数。 散列表(哈希表):即采用散列技术将记录存储在一块连续的存储空间中,这个空间即为散列表。关键字对应的记录存储位置为散列地址。散列函数的构造方法原则: 1,计算简单:尽量减少散列函数的计算时间 2,散列地址分

2016-03-29 15:17:14 473

原创 [C]LeetCode:Counting Bits

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an array.Example: For num = 5 you sh

2016-03-20 16:37:53 412

原创 [C]LeetCode:Balanced Binary Tree

Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by

2016-03-09 21:57:22 299

原创 [C]LeetCode:Maximum Depth of Binary Tree

Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.题目获取一个二叉树的最大深度: 首先想到的当然是DFS算法/** * Defini

2016-03-09 20:17:42 238

原创 [C]LeetCode:Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, r

2016-03-09 19:25:14 259

Python 基础教程第二版源代码

python基础教程第二版的源代码根据书籍提示从下列链接下载获得:http://www.apress.com/9781590599822?gtmf=s

2016-06-11

junit-4.10.jar

2016-05-24

commons-io-2.4.jar

2016-05-24

空空如也

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

TA关注的人

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