CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法 搜索资源 - FIRST AND FOLLOW

搜索资源列表

  1. Tug og war.rar

    0下载:
  2. Tug of War A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other; the number of people on the two teams must not differ by more than
  3. 所属分类:数据结构常用算法

    • 发布日期:2014-03-10
    • 文件大小:895byte
    • 提供者:
  1. training

    0下载:
  2. 某企业将挑选一批新员工进行培训,遵循以下规则: 将所有员工排成1个圈,从12点位置开始编号为1,逆时钟方向编号到N,第N号员工在第1号的左手边 两位培训官开始选择员工,培训官甲从1号开始逆时钟方向数,数到第k号员工停下;培训官乙从N号开始顺时钟方向数,数到第m号员工停下 被选中的第k号和第m号员工不是同一人,两人同时送往制造培训 被选中的第k号和第m号员工是同一人,将一人送往检测培训 接着继续往下数,培训官甲同样数到k就停止,培训官乙同样数到m就停止,重复上述的选择 输入
  3. 所属分类:Data structs

    • 发布日期:2017-04-10
    • 文件大小:1.02mb
    • 提供者:maizhao
  1. bank

    1下载:
  2. 假设某银行有四个窗口对外接待客户,从银行开门起就不断的有客户进入银行。由于每个窗口在某时刻只能接待一个客户,因此在客户众多时需按先后顺序排队,设计一个程序,遵循先到者先办理的原则,模拟银行办理业务的效率最高,客户耗时最少的情形。-Suppose there are four windows of a bank receiving external customers, starting from the bank have continued to open the door into the
  3. 所属分类:Data structs

    • 发布日期:2017-03-31
    • 文件大小:3.45kb
    • 提供者:lishan
  1. tingchechang

    0下载:
  2. 设停车场是一个可以停放n辆汽车的狭长通道,且只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。-Parking lots is a vehicle that can accomm
  3. 所属分类:Data structs

    • 发布日期:2017-04-07
    • 文件大小:75.18kb
    • 提供者:M.T
  1. tree

    0下载:
  2. 二叉树的创建、先序遍历、中序遍历、后续遍历、叶子数、节点数等的统计-Binary tree creation, the first order traversal, inorder traversal, the follow-up traversal, leaf number, number of nodes and other statistics
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:1.08kb
    • 提供者:贺遄飞
  1. Follow-upbinarytreetraversal

    0下载:
  2. 上帝王牌:给出先序遍历和中序遍历,求后续遍历,要求: 函数头如下: bool getPostOrder(const char* perOrder, const char* inOrder, char* postOrder) 返回值是一个布尔 代表是否有这样的二叉树 用法: char* perorder = "abdgcefh" char* inorder = "dgbaechf" 或者 char* inorder = "abcde" char post
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:173.72kb
    • 提供者:上帝王牌
  1. test

    0下载:
  2. 两个长度不定的升序链表,两个链表中数据有可能重复,先找到混合的第n个数然后输出后续m个 (可重复),时间复杂度为n。 -Two variable-length list in ascending order, the two data are likely to repeat the list, first find the number of mixed and then output the first follow-up n m a (repeatable), the time com
  3. 所属分类:Data structs

    • 发布日期:2017-04-05
    • 文件大小:909byte
    • 提供者:wer004
  1. syntax

    0下载:
  2. LL(1)文法的实现。具体设计要求如下: 1. 可以使用任何语言来完成,例如:Java、C、C++。 2. 文法采用常用的方式进行描述,例如:S→aA。 3. 以文件方式读取文法。 4. 分别求出每一个非终结符FIRST 集FOLLOW集和SELECT集。 5. 画出预测分析表。 6. 判定读入的文法是否是LL(1)文法。 7. 给定的任意符号串判定是否是文法中的句子,将分析过程用计算机打印出来。 8. 查出文法中是否含有左递归或左公因子。若有则消除左公因子和左递
  3. 所属分类:Data structs

    • 发布日期:2017-04-05
    • 文件大小:5.58kb
    • 提供者:冯景航
  1. car

    0下载:
  2. 设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场最里面)。如果停车场已放满n辆车,则后来的车辆只能停在停车场大门外的便道上等待,一旦停车场里有车开走,则排在便道上的第一辆车就进入停车场。若停车场内有某辆车要开走,在它之后进入停车场的车都必须先退出停车场,为它让路,待其开出停车场后,这些车再依原来的次序进场。每辆车离开停车场 时,都应根据其在停车场的逗留时间交费。如果停留在便道上的车未进停车场
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:2.26kb
    • 提供者:lxc
  1. CPPK-means

    0下载:
  2. K均值聚类首先需要确定聚成几类,然后按照迭代的方法,计算类的重心,然后按照向量和类重心的聚类重新分类,反复重复,直到分类稳定或者重心稳定。-K means clustering first need to identify clustered into several categories, and then follow the iterative method to calculate the focus of the class, and then follow the center of
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:3.14kb
    • 提供者:zdl
  1. 5091209073_2

    0下载:
  2. 编写一个程序要求用户输入一段文字,然后按照每个单词的开头字母对这段文字分类统计单词的数量并排序输出。(sjtu 二专 作业2)-Write a program that requires the user to input a paragraph of text, and then follow the first letter of each word on the statistics of this text and sort out the number of words. (Sjtu
  3. 所属分类:Data structs

    • 发布日期:2017-05-02
    • 文件大小:550.83kb
    • 提供者:
  1. Arithmetic

    0下载:
  2. 四则运算主要是用字符串形式接收一个带括号的四则运算表达式,然后按照四则运算优先级的算法先括号,后乘方,乘除,加减这样的顺序将这个算式解出。-Arithmetic is mainly used to receive a string of four operations with the expression in parentheses, and then follow the four operations in parentheses first priority of the algori
  3. 所属分类:Data structs

    • 发布日期:2017-04-07
    • 文件大小:12.83kb
    • 提供者:zhoulu
  1. tree

    0下载:
  2. 实现二叉树的建立,以及先序,后续,中序的递归和非递归遍历-The establishment of a binary tree, and the first order, follow-up, in order recursive and non recursive traversal
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:826byte
    • 提供者:许大海
  1. maintenance-of-of-binary-tree-VC

    0下载:
  2. 实现二叉排序树维护子系统实现,实现查找、插入、删除、修改操作。首先要建立一棵二叉排序树,建立树根,然后按照中序遍历依次建立二叉排序树。运用switch的四个case实现各个操作,每个case中调用相应的子程序。子程序是选择要进行的操作:查找、插入、删除、修改。-Binary sort tree maintenance subsystem to achieve, to achieve the find, insert, delete, and modify operations. First ne
  3. 所属分类:Data structs

    • 发布日期:2017-03-31
    • 文件大小:11.99kb
    • 提供者:鲍慊
  1. BiTree Thread

    1下载:
  2. 按照某种遍历方式对二叉树进行遍历,可以把二叉树中所有结点排序为一个线性序列。在改序列中,除第一个结点外每个结点有且仅有一个直接前驱结点;除最后一个结点外每一个结点有且仅有一个直接后继结点。这些指向直接前驱结点和指向直接后续结点的指针被称为线索(Thread),加了线索的二叉树称为线索二叉树。-According to some traversal of the binary tree traversal, all nodes in the binary tree sort of a linear
  3. 所属分类:数据结构常用算法

    • 发布日期:2012-12-26
    • 文件大小:1.18kb
    • 提供者:伍恒
  1. binarytree

    0下载:
  2. 数据结构 树的先序中序后续遍历 递归和非递归算法-Order follow-up in the first sequence of the data structure of the tree traversal recursive and non-recursive algorithm
  3. 所属分类:Data structs

    • 发布日期:2017-11-25
    • 文件大小:404.32kb
    • 提供者:Fizzy
  1. park

    0下载:
  2. 设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出.汽车在停车场内按照车辆到达时间的先后顺序,一次由南向北排列(大门在最南端,最先到达的第一辆汽车停放在车场的最北端), 若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入 当停车场内的某辆车要开走时,在它之后进入的车辆必须退出车场为它让路,待该辆车开出大门外,其他车辆再按照原次序进入车场,每辆车停放在车场的车在它离开停车场时必须按照它停留的时间长短交纳费用.-Suppose t
  3. 所属分类:Data structs

    • 发布日期:2017-04-17
    • 文件大小:195.75kb
    • 提供者:余啸坤
  1. SinglyLinkedList

    0下载:
  2. The newly added method should work as follow: 1. Takes two input objects L1 & L2 of type SinglyLinkedList, 2. L1 & L2 represents two Integer list in ascending order, 3. Returns an object L3 with the sorted merge value of L1 & L2 4. For exampl
  3. 所属分类:Data structs

    • 发布日期:2017-04-14
    • 文件大小:2.73kb
    • 提供者:tamer
  1. verse K-th problem

    0下载:
  2. FancyCoder提出了一个叫做“反向第K个问题”的问题。描述也很简单:给定一个数组包含N个整数A [1],A [2],...,A [n]和一些查询的数组,每次查询要求找出符合第K大的数是X的连续子序列的数目。 第一行包含一个整数T(1 <= T <= 5),表示测试用例数。 对于每个测试用例:第一行包含两个整数N和Q(1 <= N <= 2,000,1 <= Q <= 2,000,000),表示阵列中有N个整数,Q次查询。 第二行包含1和N之间的N个
  3. 所属分类:数据结构

搜珍网 www.dssz.com