Insert order

Insert Sortpackage tp.zgz.chapter04;
public class InsertSort {
public static void main(String[] args) {
int[] arr = new int[10];
for (int i = 0; i System.out.printf(arr[i] + “”);
}
System.out

OI knowledge summary

Based on the author’s level

Basic Algorithm: Enumeration——>Multiplication

difference (prefix sum)——>two-dimensional

greedy

Division and Conquer: merge sort (reverse order)