登录
首页 » 算法 » 快速排序算法

快速排序算法

于 2022-01-25 发布 文件大小:4.82 kB
0 173
下载积分: 2 下载次数: 1

代码说明:

使用java写的算法,描述了快速排序!分为递归和非递归两种方法!static void QuickSort (int a[], int p, int r)  {        if (p x的元素交换到右边区域

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

发表评论

0 个回复

  • anti aliasing c+ code
    Line drawing with Anti-aliasingWuLines.dsp    This file (the project file) contains information at the project level and    is used to build a single project or subproject. Other users can share the    project (.dsp) file, but they should export the makefiles locally.WuLines.h    This is the main header file for the application.  It includes other    project specific headers (including Resource.h) and declares the 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-01-22 10:46:50下载
    积分:1
  • 用c编写的N皇后问题
    用c编写的N皇后问题-used to prepare N Queens
    2022-06-26 00:13:48下载
    积分:1
  • 约瑟夫问题,数据结构的经典例题。有助于大家对数据结构的理解!...
    约瑟夫问题,数据结构的经典例题。有助于大家对数据结构的理解!-Joseph problems, the data structure of the classic Example. Data structure will help everyone understand!
    2022-06-14 23:54:00下载
    积分:1
  • 线段覆盖程序
    基于c++的线段覆盖程序 本段程序采用的是贪心算法,初始化之后对线段进行预处理,如果读入的左端点比右端点大,那么调换一下位置。先用快速排序对线段的左端点排序, 排序结束之后,从左到右进行扫描,对线段的右端点的几种情况分别讨论保留还是舍去,最终输出结果即可。
    2022-04-16 03:58:19下载
    积分:1
  • 里面包含了一个用VC开发的二分程序,牛顿迭代程序源码
    里面包含了一个用VC开发的二分法程序,牛顿迭代法程序源码-Which contains a dichotomy with VC development procedures, Newton iteration procedure source
    2023-06-11 07:10:03下载
    积分:1
  • 答题卡识别源代码
    我为本科毕业设计编写的程序,实现答题卡位图读入,去噪,二值化等功能,并完成答题卡识别,一个图像处理的简单应用,仅供初学者参考
    2023-02-21 10:05:04下载
    积分:1
  • 最小二乘的基本原理和多项式拟合,纯数学讲解,仅供理论学习参考。...
    最小二乘法的基本原理和多项式拟合,纯数学讲解,仅供理论学习参考。-The basic principles of least squares and polynomial fitting, pure mathematics to explain, only theoretical study reference.
    2022-03-05 11:01:29下载
    积分:1
  • 数学建模方,写论文的重要帮助,不会建模可写不出高质量的文章啊。...
    数学建模方法,写论文的重要帮助,不会建模可写不出高质量的文章啊。-Mathematical modeling method, an important thesis help, will not be high-quality modeling can not write an article ah.
    2022-12-25 01:20:03下载
    积分:1
  • Lsr2d
     LSR2D - Build projection matrix L for straight rays in 2D. % Input %    Tx: transmitter coordinates, nTx by 2 %          1st column contains X coordinates, 2nd contains Z coordinates %    Rx: receiver coordinates, nRx by 2 %          1st column contains X coordinates, 2nd contains Z coordinates %    grx: vector of X coordinates of cell boundaries (sorted increasing) %    grz: vector of Z coordinates of cell boundaries (sorted increasing) 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-13 10:35:57下载
    积分:1
  • 简单二叉树的连表
    简单二叉树的连表算法-even simple binary tree algorithm Table
    2022-01-24 13:44:58下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载