"124. Longest Consecutive Sequence" / "128. Longest Consecutive Sequence" 本题难度: Medium/Hard Topic: Data Structure Description Given an unsorted array ...
分类:
其他好文 时间:
2019-02-17 15:31:49
阅读次数:
223
算法描述: Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Example 2: Follow ...
分类:
其他好文 时间:
2019-02-15 19:52:15
阅读次数:
183
准备阶段 组织架构,因为康威定律,‘Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's commu ...
分类:
其他好文 时间:
2019-02-15 13:31:12
阅读次数:
174
下面操作会删除挂载点所有文件,注意备份。 df -T 查看出错的挂载点对应的文件系统和文件系统类型 然后umount这个文件系统 umount /dev/sda1 然后文件系统类型不同操作不同 when ext4: fsck.ext4 /dev/sda1 when xfs: xfs_repair / ...
分类:
系统相关 时间:
2019-02-15 13:28:20
阅读次数:
2628
Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's communication structure ...
分类:
其他好文 时间:
2019-02-14 15:02:03
阅读次数:
170
1.lexical analysis,which analyzes the character string presented to it and divides it up into tokens that are legal members of the vocabulary of the l ...
分类:
其他好文 时间:
2019-02-14 00:25:47
阅读次数:
177
//list.h //这样定义的链表具有通用性 #ifndef list_h #define list_h #include <stdio.h> #include <stdlib.h> /** structure for linked list elements. */ typedef struct ...
分类:
编程语言 时间:
2019-02-13 14:26:19
阅读次数:
128
1.数列找规律:OEIS 2.图形计算器:GeoGebra 3.CS Academy的三个工具 (1).Graph Editor(画图) (2).Geometry Widget(几何小小工具,比较推荐图形计算器) (3).Diffing Tool(找不同) 4.Data Structure Visu ...
分类:
Web程序 时间:
2019-02-13 09:12:47
阅读次数:
205
线性表 [TOC] 链接表(链表) 线性表实现的基本需要: 能够找到表中的首元素(无论直接或间接,通常很容易做到) 从表里的任一个元素出发,可以找到它之后的下一个元素 显然,把表元素保存在连续的存储区里,自然满足这两个需求,顺序关联是隐含的。但满足这两种需求,并不一定要连续存储元素 实现线性表的另一 ...
分类:
其他好文 时间:
2019-02-13 00:31:22
阅读次数:
211