- ASCII
- EASCII
- ISO 8859
- ISO 8859-n(n=1,2,3,...,11,13,...,16)
- Latin-1==ISO8859-1
- GB2312
- GBK > GB2312
- BIG5 (small conflict with GB2312)
- 排序
- 穩定的
- 冒泡排序(bubble sort)-O(n^2)
- 鸡尾酒排序(cocktail sort, 雙向的冒泡排序)-O(n^2)
- 插入排序(insertion sort)-O(n^2)
- 桶排序(bucket sort)-O(n);需要O(k)額外空間
- 计数排序(counting sort)-O(n+k);需要O(n+k)額外空間
- 归并排序(merge sort)-O(n*\log_{n});需要O(n)額外空間
- 穩定的
- 原地归并排序- O(n^2)
见回复
STUDIES serve for delight, for ornament, and for ability. Their chief use for delight,
is in privateness and retiring; for ornament, is in discourse; and for ability, is in
the judgment, and disposition of business. For expert men can exe-cute, and perhaps judge
of particulars, one by one; but the general counsels, and the plots and marshalling of
affairs, come best, from those that are learned. To spend too much time in studies is sloth;
to use them too much for ornament, is affectation; to make judgment wholly by their rules,
is the humor of a scholar. They perfect nature, and are perfected by experience: for natural