资源列表
Linked-List
- 一个简单的数据结构例子,用于自动建立一个单链表-A simple example of the data structure used to automatically create a single list
Circular-Queue
- 一个简单的数据结构例子,用于建立一个循环队列。-A simple example of the data structure, used to establish a circular queue.
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 ,
MaxPointsonaLine
- Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 分析:首先要注意的是,输入数组中可能有重复的点。由于两点确定一条直线,一个很直观的解法是计算每两个点形成的直线,然后把相同的直线合并,最后包含点最多的直线上点的个数就是本题的解。我们知道表示一条直线可以用斜率和y截距两个浮点数(垂直于x轴的直线斜率为无穷大,截距用x截距),同时还需要保存每
The-constructor-and-destructor
- 学习使用构造函数和析构函数的小程序,通过观察运行结果来更好的学习-Learn to use the constructor and destructor small program run by looking to better learning results
string-class
- 来自己尝试编写一个string类,要求有基本的string类的功能-To try to write yourself a string class requires a basic function string class
disanti
- 华为机试题目,要求涉及一个简易的社交网络。-Huawei machine head questions, request relates to a simple social network.
timushejiaowangluo
- 华为机试题目,编写一个社交网络,推送可能认识的人-Huawei machine head questions, write a social network, push may know
XISHUJUZHEN
- 数据结构课程设计/程序实现了加法、减法,转置-Data structure course design/application has realized the addition, subtraction, transpose
MultipleDataCompression
- The objective of Multiple Data Compression is to compress the text file and decompress the same file as the compression and decompression is done by some unique keys which made the text file containing unique characters. -The objective of Multiple Da
sequence-node
- 数据结构习题代码:假设以带头结点的循环链表表示队列,并且只设一个指针指向队尾元素结点而不设头指针,试编写相应的队列初始化、入队列、出队列和判断队列状态的算法。-Assuming lead to circular list node represents a queue, and only set up a pointer to the tail element nodes instead of being the head pointer, try to prepare the correspo
FunctionNo_Assign1_610Test
- this class is used to generate all the Functions for source with n objects and target with m objects. the total number of function is m^n