文件名称:Job2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.63mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
算法导论 思考题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 different number of array. If in the I < j, there may be A [I] > A [j], says (I, j) is called A inversion of (one of the reverse. Give an algorithm, it can NLGN) Θ (the worst running time, determine any arrangement-- a elements in the number of the reverse. (hint: modify merger algorithm)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Job2/2.1.png
Job2/2.2.png
Job2/2.3.png
Job2/Debug/inversion.exe
Job2/Debug/inversion.ilk
Job2/Debug/inversion.obj
Job2/Debug/inversion.pch
Job2/Debug/inversion.pdb
Job2/Debug/Job2.exe
Job2/Debug/Job2.ilk
Job2/Debug/Job2.pch
Job2/Debug/Job2.pdb
Job2/Debug/vc60.idb
Job2/Debug/vc60.pdb
Job2/inversion.cpp
Job2/inversion.dsp
Job2/inversion.dsw
Job2/inversion.ncb
Job2/inversion.opt
Job2/inversion.plg
Job2/Job2.dsp
Job2/Job2.dsw
Job2/Job2.ncb
Job2/Job2.opt
Job2/Job2.plg
Job2/Thumbs.db
Job2/Debug
Job2
Job2/2.2.png
Job2/2.3.png
Job2/Debug/inversion.exe
Job2/Debug/inversion.ilk
Job2/Debug/inversion.obj
Job2/Debug/inversion.pch
Job2/Debug/inversion.pdb
Job2/Debug/Job2.exe
Job2/Debug/Job2.ilk
Job2/Debug/Job2.pch
Job2/Debug/Job2.pdb
Job2/Debug/vc60.idb
Job2/Debug/vc60.pdb
Job2/inversion.cpp
Job2/inversion.dsp
Job2/inversion.dsw
Job2/inversion.ncb
Job2/inversion.opt
Job2/inversion.plg
Job2/Job2.dsp
Job2/Job2.dsw
Job2/Job2.ncb
Job2/Job2.opt
Job2/Job2.plg
Job2/Thumbs.db
Job2/Debug
Job2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.