登录
首页 » 电子书 » 通常的冒泡是单向的,而这里是双向的,也就是说还要进行反向的工作。 代码看起来复杂,仔细理一下就明白了,是一个来回震荡的方式。 写这段代码的作者认为这样可以在冒泡...

通常的冒泡是单向的,而这里是双向的,也就是说还要进行反向的工作。 代码看起来复杂,仔细理一下就明白了,是一个来回震荡的方式。 写这段代码的作者认为这样可以在冒泡...

于 2022-03-02 发布 文件大小:2.37 kB
0 93
下载积分: 2 下载次数: 1

代码说明:

通常的冒泡是单向的,而这里是双向的,也就是说还要进行反向的工作。 代码看起来复杂,仔细理一下就明白了,是一个来回震荡的方式。 写这段代码的作者认为这样可以在冒泡的基础上减少一些交换(我不这么认为,也许我错了)。 反正我认为这是一段有趣的代码,值得一看。-The bubble is usually a one-way, and here is a two-way, that is to say the job would also like to reverse. The complexity of the code look carefully you will understand the rationale for it is a shock the way back and forth. Author of Writing the code that this can reduce the bubble on the basis of the exchange (I do not think so, I may be wrong). Anyway, I think this is a fun code, worth a visit.

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

发表评论

0 个回复

  • 微机原理寻址方式!
    微机原理寻址方式!-computer theories addressing ways!
    2022-09-24 17:40:03下载
    积分:1
  • ball over three million Internet site manager in the use of PHP, making it the m...
    球超过300万个互联网网站的管理员都在使用PHP,使得它成为最为普及的服务器端脚本语言之一。其特点是运行速度快、稳定可靠、跨平台,而且是开放源代码软件。随你使用的水平不同,PHP可以很简单,也可以很复杂,可以只使用它发送HTML表格元素,还可以在PHP应用程序中集成Java和XML。-ball over three million Internet site manager in the use of PHP, making it the most popular server-side scripting language. Its characteristics are fast and reliable, cross-platform, but is open-source software. As you use different levels, PHP can be very simple and very complex, can only use it to send HTML form elements, but also in PHP applications integrate Java and XML.
    2022-07-19 16:50:13下载
    积分:1
  • 面包店
    面包店--一个JDBC订购系统原型-bakery-- a prototype system for ordering JDBC
    2022-07-07 10:15:01下载
    积分:1
  • 是delphi方面Win32API大全
    是delphi方面Win32API大全-respect Win32API Daquan
    2022-08-07 14:34:34下载
    积分:1
  • All the code examples in this book are written in C#, Microsoft s flagship new p...
    All the code examples in this book are written in C#, Microsoft s flagship new programming language developed concurrently with the .NET Framework. Our hope is that Visual Basic developers won t feel alienated by this focus on C#. In fact, C# and Visual Basic code are structurally very similar and, apart from the obvious language syntax differences, the C# samples should be very readable to a Visual Basic .NET developer. On the companion CD, you ll find every sample application in this book with versions in C# and Visual Basic .NET. The only exceptions to this are the custom control examples from the second half of Chapter 15 and from Chapter 16. These are only in C#, not because you can t use Visual Basic (or any other language the .NET Framework supports, but because we didn t have time to do it!
    2023-03-09 21:30:06下载
    积分:1
  • 关于mfc编程的内容123456789456123789
    关于mfc编程的内容123456789456123789-Mfc programming content on 123456789456123789
    2022-01-28 20:32:15下载
    积分:1
  • MFC应用程序在.NET框架下的扩展[美]
    MFC应用程序在.NET框架下的扩展[美]-MFC application. NET framework an extension of [U.S.]
    2022-09-30 05:45:10下载
    积分:1
  • Nivada of CUDA, speed up the Matlab computing documentation.
    Nivada之CUDA,加速Matlab运算的文档资料。-Nivada of CUDA, speed up the Matlab computing documentation.
    2022-03-10 12:53:26下载
    积分:1
  • WinSock编程规范及应用
    WinSock编程规范及应用-WinSock norms and Application Programming
    2023-04-19 16:35:04下载
    积分:1
  • ARX2000/CAD secondary development, tell you how a new layer
    ARX2000/CAD二次开发,告诉你如何新建一个图层-ARX2000/CAD secondary development, tell you how a new layer
    2022-12-19 02:55:03下载
    积分:1
  • 696518资源总数
  • 104444会员总数
  • 15今日下载