- 16
- 0
- 约1.86万字
- 约 20页
- 2017-06-10 发布于河南
- 举报
java编程题90道(国外英文资料)
java编程题90道(国外英文资料)
Complete array int [] a = {100, 40, 60, 87, 34, 11, 56, 0} quicksort, bubble sort;
1) quick sort
Package the SRC;
/ *
* there are several key points
* what is the middle value of * 1
* what is the comparison between the two I and j
What is the left and right value of the recursive call
* /
Public class QuickSort {/ / QuickSort
Public static void main (String [] args)
Int [] a = {100, 40, 60, 87, 34, 11, 56, 0};
Int left = 0;
Int right = a.l ength - 1;
QuickSort (a, left, right);
/ / the loop displays the array
For (int I = 0; I a.ength; I + +) {
The System is out of order.
您可能关注的文档
最近下载
- 论蔡崇达小说《命运》中的闽南村妇形象.docx VIP
- 2025年江西成人高考高起专英语真题及答案.docx VIP
- 2025年浙江省语文成人高考高起专真题试卷及答案.docx VIP
- 刘震云小说《一日三秋》中明亮的形象塑造.docx VIP
- 2025年广东省广州市南沙区辅警招聘考试题库(必刷500题)含答案详解.docx VIP
- 语文成人高考高起专真题试卷及答案.docx VIP
- 低空智联技术与应用白皮书(2026).docx VIP
- 急性缺血性脑卒中患者早期活动护理规程团体标准解读PPT.pptx
- 防暑降温应急预案.docx VIP
- 成人高考专升本2025年艺术概论考试真题与参考答案.docx VIP
原创力文档

文档评论(0)