有以下关键字序列(15,20,24,32,15,7,14,23),使用快速排序方法将其按升序排列。请回答下列问题。(1)若取第一个关键字为基准,写出第一趟快速排序的结果。(2)若取最后一个关键字为基准,写出第一趟快速排序的结果
(1)14,7,15,32,15,24,20,23(2)15,20,14,7,15,23,32,24
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/431625.html
上一篇:When shall is used with a subject other than the first person, what does it usually indicate? Give an example.
下一篇:Passage ThreePublic goods are those commodities whose enjoyment nobody can be effectively excluded. Everybody is free to enjoy the benefits of these commodities and one person’s use does not reduce the possibilities of anybody else’s enjoying the