2019年5月22日

[two pointers]Codeforces - 1166C - A Tale of Two Lands

摘要: http://codeforces.com/problemset/problem/1166/C 分析:给定n 个数,其中有x,y,... 满足 min(∣x−y∣,∣x+y∣) ≤ min(∣x∣,∣y∣)且 max(∣x∣,∣y∣) ≤ max(∣x−y∣,∣x+y∣) http://codefo 阅读全文

posted @ 2019-05-22 22:09 HuisClos 阅读(181) 评论(0) 推荐(0) 编辑

2019年5月8日

[Algorithms]Constructive Algorithm构造算法

摘要: 构造算法是什么 It's an algorithm which builds something. A graph, an array, a matrix etc. It's what test generators use to build test cases. 就是数学中的proof, con 阅读全文

posted @ 2019-05-08 15:02 HuisClos 阅读(978) 评论(0) 推荐(1) 编辑

2019年2月13日

[Data Structure]线性表Linear List2

摘要: 线性表 [TOC] 链接表(链表) 线性表实现的基本需要: 能够找到表中的首元素(无论直接或间接,通常很容易做到) 从表里的任一个元素出发,可以找到它之后的下一个元素 显然,把表元素保存在连续的存储区里,自然满足这两个需求,顺序关联是隐含的。但满足这两种需求,并不一定要连续存储元素 实现线性表的另一 阅读全文

posted @ 2019-02-13 00:08 HuisClos 阅读(168) 评论(0) 推荐(0) 编辑

2019年2月12日

[Data Structure]线性表Linear List

摘要: 线性表I [TOC] 计算机的基本内存结构 内存是线性排列的一批存储单元,单元有唯一编号,称为单元地址 [内存 待续] 单元地址从0开始址连续排列,可用地址是一个连续整数区间对内存单元的访问(存取其中的数据)都通过单元地址进行。 因此, 要访问一个单元,必须先掌握其地址 基于地址访问单元是 O(1) 阅读全文

posted @ 2019-02-12 22:20 HuisClos 阅读(272) 评论(0) 推荐(1) 编辑

2019年2月8日

[Computation]有穷自动机

摘要: 有穷自动机 阅读全文

posted @ 2019-02-08 15:18 HuisClos 阅读(259) 评论(0) 推荐(1) 编辑

[Computation]集合、关系、语言

摘要: 写了半天发现啥都没写 相当于自查表 集合、关系和语言 集合 语言 阅读全文

posted @ 2019-02-08 00:01 HuisClos 阅读(238) 评论(0) 推荐(1) 编辑

2019年1月6日

[Algorithms]图的搜索

摘要: 未完待续 知道图的存储,DFS,BFS 二分图判定 DFS也可求图的拓扑序。 阅读全文

posted @ 2019-01-06 23:46 HuisClos 阅读(205) 评论(0) 推荐(1) 编辑

2018年5月23日

[Matlab][Digital Processing]基本语法

摘要: 抄书。 1、注释:% 2、数据类型: ①数值:(u)int8,(u)int16,(u)int32,(u)int64,float,double,复数(虚部i),默认数据类型是double;char是6位,schar是8位,bitN指定任意N位带符号整数 ②逻辑类型:True和False,使用logic 阅读全文

posted @ 2018-05-23 18:31 HuisClos 阅读(501) 评论(0) 推荐(0) 编辑

2018年4月11日

[English Learning]Reading

摘要: Left Overview: Time Reading Question Type Basic Information Skills Questions "In the first/second/third paragraph..."the answer is always stated or st 阅读全文

posted @ 2018-04-11 23:26 HuisClos 阅读(196) 评论(0) 推荐(0) 编辑

2018年4月8日

[Algorithm]Recurrent Problems_Josephus problem

摘要: n people (numbered 1 to n) around a circle,eliminate every second remaining person until only one survives. The problem — given the number of people, 阅读全文

posted @ 2018-04-08 15:22 HuisClos 阅读(224) 评论(0) 推荐(0) 编辑

导航