Greeting People
Look at some ways to greet people.
Do you greet people that you meet for the first time the same way that you greet people you know? What can change?
Greeting People You Meet for the …
第二章算法作业1.请用自然语言或伪代码描述找第k小的数的分治算法:
代码:
include
// 划分函数,根据a[left]对a[left..right]进行划分
int partition(int a[], int left, int right) {
int pivot = a[left]; // 选…