The-Golang-Standard-Library-by-Example icon indicating copy to clipboard operation
The-Golang-Standard-Library-by-Example copied to clipboard

3.1.1 数据集合排序

Open green961 opened this issue 2 years ago • 0 comments

// 如果 i 索引的数据小于 j 索引的数据,返回 true,~~且不会~~调用下面的 Swap(),即数据升序排序。 Less(i, j int) bool i 索引是后面的位置, 正是此时调用 Swap

green961 avatar Sep 23 '21 10:09 green961