CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 搜索资源 - 逆序对

搜索资源列表

  1. paixubijiao

    1下载:
  2. 1. 内部排序演示 问题描述 设计一个测试程序比较几种排序算法的关键字比较次数和移动次数以取得直观感受。 基本要求 (1)对起(冒)泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、堆排序算法进行比较; (2)待排序的元素的关键字为整数。其中的数据要用伪随机产生程序产生(如10000个),至少用5组不同的输入数据做比较,再使用各种算法对其进行排序,记录其排序时间,再汇总比较; (3)演示程序以人机对话的形式进行。每次测试完毕显示各种比较指标值的列表,用
  3. 所属分类:数据结构常用算法

    • 发布日期:2008-10-13
    • 文件大小:1756
    • 提供者:就是这样
  1. 华为软件工程师上机考试题目

    0下载:
  2. 华为软件工程师上机考试题目,要求对已知单链表求其逆序,并输出。-Huawei software engineers, computer exam questions, asked to watch for the known anti-shear reverse, and output.
  3. 所属分类:数据结构常用算法

    • 发布日期:2016-01-27
    • 文件大小:194560
    • 提供者:青山小子
  1. ly

    0下载:
  2. 归并排序算法,同时,利用归并的特点算出逆序对-Merge sort algorithm, at the same time, calculated using the characteristics of the reverse merger of
  3. 所属分类:Data structs

    • 发布日期:2017-04-12
    • 文件大小:684
    • 提供者:李世峰
  1. Sort

    0下载:
  2. 运用直接插入法或快速排序法对程序产生的正序、逆序或随机的序列进行排序-use DirectSort of QuickSort to sort the sequnce produced by the process, which is positive sequence, reverse sequence or random order
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:298696
    • 提供者:lamar
  1. Introduction_to_Algorithm

    0下载:
  2. 常见算法设计的源代码。配合著名的那本“算法导论”。其中主要包括: 归并排序 活动选择问题 矩阵链乘问题 矩阵链乘问题的备忘录解法 逆序对问题 求和问题 装配线问题 最短路径Dijkstra算法和堆操作 -Common algorithm design of the source code. With the well-known that the " Introduction to Algorithms." Which mainly i
  3. 所属分类:Algorithm

    • 发布日期:2017-03-31
    • 文件大小:14841
    • 提供者:xichen
  1. revcount_MergeSort

    0下载:
  2. 统计两个序列中的逆序对。经典的分治法,采用归并排序的框架实现。-Counting reverse pairs
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:2373
    • 提供者:PKUmzhang
  1. reverse.the.data.of.array

    0下载:
  2. 此为一个程序合集,里面含有对随机输入的一组存放在数组中的数据进行逆序排列算法,并输出,算法精简,复杂度低,另附最值精简程序和统计数目程序-This is a program collection, which contains a set of random input stored in the data array arranged in reverse algorithm, and output, arithmetic simplification, the complexity of l
  3. 所属分类:Algorithm

    • 发布日期:2017-03-27
    • 文件大小:977
    • 提供者:
  1. T1

    0下载:
  2. 使用“递归”算法实现单链表中数据的顺序和逆序输出。对选择的文档进行处理,通过对单链表的函数的调用,实现数据的顺序输出和你序输出。-Using the "recursive" algorithm for single order of the data list and reverse output. Processing the selected document, through a single call to a function list, the order of data outpu
  3. 所属分类:Data structs

    • 发布日期:2017-05-25
    • 文件大小:8640086
    • 提供者:王剑
  1. java

    0下载:
  2. 求1+2!+3!+...+20!的和 利用递归方法求5!。 有5个人坐在一起,问第五个人多少岁?他说比第4个人大2岁。问第4个人岁数,他说比第3个人大2岁。问第三个人,又说比第2人大两岁。问第2个人,说比第一个人大两岁。最后问第一个人,他说是10岁。请问第五个人多大? 给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。:一个5位数,判断它是不是回文数。即12321是回文数,个位与万位相同,十位与千位相同。 请输入星期几的第一个字母来判断一下是星期几,如果第
  3. 所属分类:Algorithm

    • 发布日期:2017-03-30
    • 文件大小:4214
    • 提供者:高明辉
  1. sort-compare

    0下载:
  2. 内部排序算法比较 问题描述:编制一个演示内部排序算法比较的程序。可对冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序和堆排序进行比较。 算法输入:排序方法选择,待排序的元素的关键字,关键字序列的给出方式(正序、逆序和乱序) 算法输出:不同情况下关键字参加的比较次数和关键字的移动次数。 算法要点:(1)由键盘输入待排序表的表长(50到100)和不同测试数据的组数。(2)利用不同排序方法排序并统计两类次数,列表显示(3)程序以对话方式执行。 -Comparison of
  3. 所属分类:Data structs

    • 发布日期:2017-03-31
    • 文件大小:363135
    • 提供者:Winky
  1. Job2

    0下载:
  2. 算法导论 思考题2-4逆序对问题:设A[1..n]是一个包含n个不同数的数组。如果在i<j的情况下,有A[i]>A[j],则称( i , j )就称为A中的一个逆序对(inversion)。给出一个算法,它能用Θ(nlgn)的最坏情况运行时间,确定n个元素的任何排列中逆序对的数目。(提示:修改合并算法)-Algorithm is graded 2-4 reverse introduction to question: set A [1.. n] is A contains n A d
  3. 所属分类:Data structs

    • 发布日期:2017-05-08
    • 文件大小:1709568
    • 提供者:张萌萌
  1. the-internal-sorting-algorithm

    0下载:
  2. 通过内部排序算法实现,熟练掌握各种排序算法的基本技术。通过各种排序算法在数据随机分布、正序和逆序情况下,数据比较次数和数据元素移动次数,对不同排序算法的时间复杂读获得只管的感受。-Through internal sorting algorithm, to master the basic techniques of various sorting algorithms. Data through a variety of sorting algorithms in random distri
  3. 所属分类:Data structs

    • 发布日期:2017-03-27
    • 文件大小:14062
    • 提供者:魏冰
  1. Nixu

    0下载:
  2. 输入一个序列,并给出逆序,则会对这个序列进行排序。-Enter a sequence, and gives the reverse, is sort of this sequence.
  3. 所属分类:Data structs

    • 发布日期:2017-05-03
    • 文件大小:1110284
    • 提供者:余天
  1. dongtaiguihuanixusuanfa

    0下载:
  2. 运用matlab实习动态规划中的逆序算法的例题及matlab程序,对程序也有很详细的解析说明-To use matlab internship Reverse Algorithm of dynamic programming examples and matlab program, the program is also detailed analysis
  3. 所属分类:matlab

    • 发布日期:2017-11-23
    • 文件大小:43531
    • 提供者:杨寿平
  1. 2

    0下载:
  2. 找出给定序列的所有逆序对,并输出。 逆序对:若i < j ==> A[i] > A[j] 则(i,j)为一个逆序对-Identify all the given sequence in reverse order right, and output. On the reverse: if i < j ==> A [i]> A [j] then (i, j) as a reverse pair
  3. 所属分类:Data structs

    • 发布日期:2017-04-11
    • 文件大小:751
    • 提供者:刘子扬
  1. Stack

    0下载:
  2. 1.使用栈完成一个字符串的逆序输出 2.使用该栈完成表达式的括号是否匹配? 3.对数学表达式求值-1 Using the stack in reverse order to complete a string of output 2. Use the stack to complete the expression in parentheses match? 3. Evaluates mathematical expressions
  3. 所属分类:Data structs

    • 发布日期:2017-04-06
    • 文件大小:4328
    • 提供者:尚亚涛
  1. QuickSort

    0下载:
  2. 算法导论中的快速排序算法的具体实现,包括对该算法的简单变形,其中采用文件输入,包括正序,逆序,随机情况的不同输入-Introduction to Algorithms concrete realization of fast sorting algorithms, including the algorithm is simple deformation, which uses the file input, including positive, reverse, random situati
  3. 所属分类:Data structs

    • 发布日期:2017-05-03
    • 文件大小:722563
    • 提供者:
  1. rank

    1下载:
  2. 内部排序算法比较:通过随机数据比较各排序算法的关键字比较次数和关键字移动次数,以及执行时间,取得直观感受。 1、各算法在不同规模下的比较。 1)比较范围:直接插入排序、冒泡法排序、简单选择排序、快速排序1(自己实现)、快速排序2(调用STL)、归并排序。 2)比较指标:a)关键字操作次数(比较次数和移动次数之和),b)排序时间。每个指标采用多次重复取平均数记录,重复次数不小于100。注:1次关键字对换按3次移动计算。 3)数据规模:分别为50,100,500,1000,5000,
  3. 所属分类:Data structs

    • 发布日期:2017-04-29
    • 文件大小:61568
    • 提供者:
  1. Untitled1

    0下载:
  2. 数据结构中,对链表的操作,可以完成链表排序及逆序的功能。-Data structure, Chain operation, can be done to sort the list in reverse order and function.
  3. 所属分类:Data structs

    • 发布日期:2017-04-12
    • 文件大小:958
    • 提供者:陈南木
  1. main

    0下载:
  2. 对一些超出整型数范围的正整数的应用,需要自己想办法解决的存储和运算。一种解决方案是用单链表存储一个正整数。注意,数字是用逆序存储的。试设计一个类处理任意大整数,必须实现输入输出操作、加法操作和赋值操作。(For some applications that are beyond the integer range of positive integers, they need to store and compute their own solutions. One solution is to
  3. 所属分类:数据结构

    • 发布日期:2017-12-29
    • 文件大小:1024
    • 提供者:苏芒。
« 12 »
搜珍网 www.dssz.com