This article refers to "Dahua Data Structure", thanks to the author Mr. Cheng Jie.
One: The characteristics of the algorithm:
finiteness;
certainty;
feasibility;
input;
output;
Two: Good algorithm design requirements:
correctness;
readability;
robustness;
high and low rate:
low storage;
Three: the time complexity of the algorithm (large O order):
O(n): linear order
O(1): constant order
O(n^2): square order
O(log n): logarithmic order