We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
内排序: 冒泡/插入/选择/快排/归并/堆/希尔 -> 考量因素: 比较次数 外排序: 桶排序/基数排序/计数排序 -> 考量因素: 比较次数 + IO次数(硬盘读写速度)
外排优化点: 减少外存的写入次数(多路归并, 内存可以容纳四个元素, 那么思路归并)
The text was updated successfully, but these errors were encountered:
趣谈外部排序
Sorry, something went wrong.
快排? -> partition 归并? -> merge KMP? -> next 数组 (最长公共前后缀数组/longest prefix suffix array)
No branches or pull requests
内排序: 冒泡/插入/选择/快排/归并/堆/希尔 -> 考量因素: 比较次数
外排序: 桶排序/基数排序/计数排序 -> 考量因素: 比较次数 + IO次数(硬盘读写速度)
外排优化点: 减少外存的写入次数(多路归并, 内存可以容纳四个元素, 那么思路归并)
The text was updated successfully, but these errors were encountered: