You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Navigate into the `data_structures` directory. Inside the `src` directory, you'l
13
13
Run `npm test binary-search-tree` to run the tests for this function to ensure that your implementation is correct.
14
14
15
15
### Task 2. Implement Heapsort
16
-
Inside the `src` directory you'll also find the `heap.js` file with the completed code the heap class. Your second task is to implement a sorting method called heapsort that uses the heap data structure in order to sort an array of numbers. Your `heapsort` function should return a new array containing all of the sorted data.
16
+
Inside the `src` directory you'll also find the `heap.js` file with the completed code the heap class. Your second task is to implement a sorting method called [heapsort](https://en.wikipedia.org/wiki/Heapsort) that uses the heap data structure in order to sort an array of numbers. Your `heapsort` function should return a new array containing all of the sorted data.
17
17
18
18
Run `npm test heap` to run the tests for your `heapsort` function to ensure that your implementation is correct.
0 commit comments