We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76b8e8 commit 91fbf1eCopy full SHA for 91fbf1e
algorithms/4_InsertionSort/insertion_sort_exercise.md
@@ -2,7 +2,7 @@
2
3
Compute the running median of a sequence of numbers. That is, given a stream of numbers, print out the median of the list so far on each new element.
4
5
-Recall that the median of an even-numbered list is the average of the two middle numbers.
+Recall that the median of an even-numbered list is the average of the two middle numbers in a *sorted list*.
6
7
For example, given the sequence `[2, 1, 5, 7, 2, 0, 5]`, your algorithm should print out:
8
0 commit comments