mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
merge: Add test case and fix HeapSort Algorithm (#969)
This commit is contained in:
@@ -38,4 +38,5 @@ export function heapSort (input) {
|
||||
|
||||
heapRoot(input, 0)
|
||||
}
|
||||
return input
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user