资源列表
timushejiaowangluo
- 华为机试题目,编写一个社交网络,推送可能认识的人-Huawei machine head questions, write a social network, push may know
disanti
- 华为机试题目,要求涉及一个简易的社交网络。-Huawei machine head questions, request relates to a simple social network.
string-class
- 来自己尝试编写一个string类,要求有基本的string类的功能-To try to write yourself a string class requires a basic function string class
The-constructor-and-destructor
- 学习使用构造函数和析构函数的小程序,通过观察运行结果来更好的学习-Learn to use the constructor and destructor small program run by looking to better learning results
MaxPointsonaLine
- Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 分析:首先要注意的是,输入数组中可能有重复的点。由于两点确定一条直线,一个很直观的解法是计算每两个点形成的直线,然后把相同的直线合并,最后包含点最多的直线上点的个数就是本题的解。我们知道表示一条直线可以用斜率和y截距两个浮点数(垂直于x轴的直线斜率为无穷大,截距用x截距),同时还需要保存每
EvaluateReversePolishNotation
- Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: [ 2 , 1 , + , 3 , * ] -> ((2 + 1) * 3) -> 9 [ 4 ,
RiASourceCode
- R语言学习资料,可是中文版本哦,适合初学者学习-R language learning materials, but the Chinese version of Oh, suitable for beginners to learn
Circular-Queue
- 一个简单的数据结构例子,用于建立一个循环队列。-A simple example of the data structure, used to establish a circular queue.
Linked-List
- 一个简单的数据结构例子,用于自动建立一个单链表-A simple example of the data structure used to automatically create a single list
sorting_list
- 排序算法的小例子,对初学者有一定的帮助,排序算法是常用的算法-Small example of sorting algorithms, there is some help for beginners
zui--xiao-shengcheng-shu
- 最小生成树算法 非诚实用 的几种求解算法-very good
inverlinklist
- 单链表是线性表的一种链式存储,属于线性结构,是通过指针来实现链式存储的,比之以顺序表,其存储密度更低,但是在插入, 删除操作上,其效率比顺序表要高-Single-chain is a chain store linear form, are linear structure is realized by the chain pointer stored in the order form, which is lower than the storage density, but in the