1
0
mirror of https://gitee.com/coder-xiaomo/algorithm-visualization synced 2025-09-10 14:31:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加归并排序、随机快速排序、计数排序、基数排序算法框架

This commit is contained in:
2022-05-19 00:39:31 +08:00
parent d867150566
commit 4e857942f6
2 changed files with 183 additions and 9 deletions

View File

@@ -132,6 +132,10 @@ function initialize() {
const sortClass = new sortClassList[i](animation)
const sortClassInfo = sortClass.info()
// 跳过未完成的算法
if (!sortClassInfo['available'])
continue
let ctrlBtn = document.createElement("button")
ctrlBtn.innerHTML = sortClassInfo['name']
ctrlBtn.onclick = function () {