登录
首页 » Java » QuickSort

QuickSort

于 2012-09-27 发布 文件大小:10KB
0 85
下载积分: 1 下载次数: 5

代码说明:

  简单快速排序实现,采用Junit框架进行测试,保留了一些必要的注释(Utilize a unit testing framework of your choice to test your code. Submit a copy of the code to test, the test cases generated and an output report (screen shot from the tool).)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 程序比较了排序算法的优点(包括快速比较法,…
    本程序比较各种排序算法的优劣(包括快速比较,基数比较等等),希望大家指教.-the procedures compare the merits Sorting Algorithm (including rapid comparison, the comparison base, etc.), we hope the exhibitions.
    2022-02-06 22:53:34下载
    积分:1
  • 这是一个表示tree的c++模板对象,封装的非常好.tree
    这是一个表示数据结构tree的c++模板对象,封装的非常好.tree-msvc.hh能在 visual c++下使用,如同使用stl标准模板类库一样-This is a tree data structure that the c++ template object, the package is very good. Tree-msvc.hh be able to use visual c++, as the use of standard template library stl the same as
    2023-02-18 15:55:03下载
    积分:1
  • RMQ的st算法,两道题,一个是一维的,一个是二维的
    RMQ的st算法,两道题,一个是一维的,一个是二维的-RMQ the st algorithm, two questions, one is one-dimensional, and one is two-dimensional
    2022-07-12 03:53:26下载
    积分:1
  • HuffanCoding
    读取数据,统计所得到的文件中每个字母的权值,创建哈夫曼树,哈夫曼编码。哈夫曼解码,解码后内容写入到指定的文件。 读取数据里面的内容是由英文单词组成。读取文件的时候传入文件存放的路径、读取方式以及读出以后存放的数组,最终可以得到一个存放目标文件内容的数组。 将得到的数组进行字母权值的统计,统计每个字母出现的次数,次数即为每个字母的权值。 将得到的字符数组与权值数组作为创建哈夫曼树的依据,哈夫曼树根据每个字母权值的大小来创建,每个节点,包括权值、父节点、左子、右子和字母本身。 根据哈夫曼树进行编码。形成目标文件的哈夫曼编码,将此编码返回。 根据哈夫曼树得到的数组即为解码数组,解码数组作为解码的结果返回。 写入输出文件,将解码得到的数组、文件的完整路径以及文件的写方式作为参数传入,将数组写入到相应的文件中。 (Read the data, statistical documents obtained weights for each letter, create a Huffman tree, Huffman coding. Huffman decoding, the decoded contents are written to the specified file. Read the content inside is composed of English words. When the incoming file to read the file storage path, read mode and read out after storage array that can eventually get a storage target file contents of the array. The resulting array of letter weights statistics, statistical number of occurrences of each letter, the number is the weight of each letter. The resulting character array with the weights array as the basis for creating Huffman tree, Huffman tree based on the size of the weights of each letter to create, for each node, including weights, parent, left child, right child, and letter itself. According to Huffman coding. The formation of the target file Huffman coding, this code returns. According to Huffman decoding the resulting array is an array, the decoder decodes the result is retur)
    2020-07-02 15:40:01下载
    积分:1
  • yeschengxu
    这是数据结构很重要的程序,主要是课后题的答案,和代码,功能很强大(the data struct of the book)
    2013-12-22 23:25:14下载
    积分:1
  • 立春葆的李春葆:习题与解析(C语言版).pdf...
    立春葆的数据结构李春葆:数据结构习题与解析(C语言版).pdf-Li-Chun Li Chun-bao-bao of the data structure: Data structure and analysis of exercise (C language version). Pdf
    2022-11-10 03:05:05下载
    积分:1
  • migongproduce
    迷宫生成器,可以根据需要自己建立各类型的迷宫,而且能求解出线路(Maze maze of various types of generators, according to the needs its own, but also to solve the lines)
    2012-02-10 15:17:36下载
    积分:1
  • 无向网生成最小树,基于VISUAL C++开发,
    无向网生成最小树,基于VISUAL C++开发,数据结构-Undirected network generate minimum spanning tree, based on the VISUAL C++ Development, data structure
    2022-01-25 18:16:13下载
    积分:1
  • 1. 在IBConsole中添加两个用户LOGIN和MATER,密码均为PASSWORD。 2. 用MISDBA用户登录MISDB库。 3. 在IS...
    1. 在IBConsole中添加两个用户LOGIN和MATER,密码均为PASSWORD。 2. 用MISDBA用户登录MISDB数据库。 3. 在ISQL中,输入第9章提供的SQL语句;或者根据表9-1至表9-8在SQL Explorer中自行创建数据表。数据库创建后需要分配LOGIN和MATER用户的访问权限。 4. 根据表9-9和表9-10设置初始数据,另外需要在PERSON数据表中设置一个用于登录系统的用户(ID=’MAT’,PASSWD=’PASSWORD’,AUTHORITY=’7’,STATE=’F’),同时在PART表中添加ID为’0000000000’的零件,名称为“。 5. 除了修改数据库连接的属性,还需要修改数据模块中LOGIN方法的相关用户密码。 -1. In addition two IBConsole users LOGIN and Mater. passwords are PASSWORD. 2. User login with MISDBA MISDB database. 3. In ISQL, the importation of Chapter 9 of SQL; Or, according to Table 9-1 to Table 9-8 in SQL Explorer to create data sheets. After creating the database needs and Mater distribution LOGIN user access permissions. 4. According to Table 9-9 and Table 9-10 initial data set, Another need PERSON data tables set up a registration system for users (ID = "MAT" PASSWD = "PASSWORD" AUTHORITY ="7 ", STATE = "F"), PART table at the same time adding ID to"0000000000 "parts, name. " 5. In add
    2022-08-02 16:54:09下载
    积分:1
  • pao madengsd sdf sdfdfs dfsdf
    pao madengsd sdf sdfdfs dfsdf -pao madeng fghdfhgfdgfgfggffg
    2022-03-18 11:35:55下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载