- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 堆排序
堆(二叉)堆是一个数组A[1 . . A.length],可以被看成一个近似的完全二叉树:除最底层外,该树是完全充满的,而且是从左向右填充。 树上的每一个节点对应数组中的一个元素,树的根节点为A[1]。 给定一个结点的下标 i ,可以得到: 父结点下标 Parent(i) : ⌊i2⌋ \lfloor\frac i2\rfloor 左孩子结点下标 Left(i) : 2*i 右孩子结
2016-05-07 21:46:32
226
原创 Windows7 Telnet 问题小结
1/2 Windows7 下开启 TelnetI/III 问题描述在 cmd 界面输入 telnet 127.0.0.1 10101 命令,出现如下错误 II/III 原因分析Telnet 在 Windows7 下默认不开启,需要用户手动开启III/III 解决方案控制面板 –> 卸载程序 –> 打开或关闭 Windows 功能 –> 勾选“ Telnet 客户端”–> 等待 1 分钟左右 –>在
2016-05-03 15:24:05
528
原创 Edit Distance
1/4 题目描述Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have the following 3 operations permitted on a wo
2016-05-02 16:22:21
172
原创 Excel Sheet Column Number
Given a column title as appear in an Excel sheet, return its corresponding column number.LeetCode题目链接:Excel Sheet Column Number
2016-05-02 09:39:05
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人