mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 02:05:08 +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