feat(Go-Tool):

2021/02/23:删除linq包使用示例,修改二进制工具与单测类,修改lomuto划分,修改前缀树与单测类,修改时间比较工具
This commit is contained in:
Huangzj
2021-02-23 10:57:41 +08:00
parent 39cee0ce6a
commit 74dd19c675
14 changed files with 98 additions and 794 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func LomutoPartition(list []int, start int, end int) int {
if list[i] < compareValue {
moveSubscript++
charge++
list[moveSubscript], list[i] = list[i], list[moveSubscript]
list[moveSubscript], list[i] = list[i], list[moveSubscript] //交换元素
}
}
charge++