资源列表
Data-Structure-List
- 包含数据结构中链表的内容,含有顺序,双向,循环,线形链表。每个都含有创建,删除,插入,销毁等知识点-Contains data structure in the list of content, containing the order, two-way, circular, linear list. Each contains the creation, deletion, insertion, destruction and other knowledge points
LLE
- 该算法是局部线性嵌入的算法,代码无误,已运行,并且附带数据集,可以使用,非常实用。-The algorithm is locally linear embedding algorithm, the code is correct, has been running, and with the data set, you can use, very practical.
Word-Ladder
- 给定两个词(beginWord和endWord)和字典的单词列表,找到所有最短转换序列(s)beginWord endWord,这样: 一次只能改变一个字母;每个中间必须存在于词列表-Given two words (beginWord and endWord), and a dictionary s word list, find all shortest transformation sequence(s) beginWord to endWord, such that: Onl
Max-Points-on-a-Line
- 给定的n个点在二维平面上,发现的最大数量点躺在同一直线。-Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
LRU-Cache
- 设计和实现一个数据结构最近最少使用(LRU)缓存。它应该支持以下操作:获取和设置。 得到(关键)得到的价值(永远是积极的)关键如果键存在于缓存中,否则返回1。 集(关键字,值)——设置或插入的值如果不是已经存在的关键。当缓存达到容量,应该最近最少使用项失效前插入一个新项。-Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op
Text-Justification
- 给定一组单词和长度,格式文本,每一行有L人物和完全(左和右)合理的。 你应该包你的话在一个贪婪的方法,也就是说,包尽可能多的单词可以在每一行。垫额外空间“必要时,每一行有L字符。 单词之间额外的空格应该尽可能均匀分布。如果空间的数量在一个单词之间不匀,左边的空槽将分配更多的空间比右边的插槽。 最后一行文本,应该向左对齐,没有单词之间插入额外的空间。-Given an array of words and a length L, format the text such tha
Shortest-Palindrome
- 给定一个字符串,你可以将它转换成一个回文通过添加字符在它前面。找到并返回最短的回文可以发现通过执行这个转换。 例如: 鉴于“aacecaaa”,返回“aaacecaaa”。 鉴于“abcd”,返回“dcbabcd”。-Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest p
fem.f
- fortran code for calculating nothing, you can see it
Josephus-problem
- 设编号为1-n的n(n>0)个人按顺时针方向围成一圈.首先第1个人从1开始顺时针报数,报m的人(m 为正整数).令其出列。然后再从他的下一个人开始,重新从1顺时针报数,报m的人,再令其出列。如此下去,直到圈中所有人出列为止。求出列编号序列。-Numbered 1-n set of n (n> 0) Personal clockwise circle. First Person 1 1 clockwise report the number of people reported to
Binary-Tree-Traversal
- 本程序的功能是利用二叉树后序遍历来实现表达式的转换,同时可以使用栈来求解 后缀表达式的值。-The function of this program is to be implemented after preorder binary tree transform expression, and can use the stack to solve value postfix expression.
GraphBook.latest-r1991
- The Graph Book. Everything you need to knwo about graphs and how to effectively use them to solve problems.
Radix-Sort
- 基数排序是一种非比较型整数排序算法,其原理是将整数按位数切割成不同的数字,然后按每个位数分别比较。- Radix sort is a kind of non comparative sorting algorithm, which is based on the number of integers into different numbers, and then according to the number of each.