diff --git a/src/algorithms/math/Median b/src/algorithms/math/Median index 6eedbb16..2dcf8425 100644 --- a/src/algorithms/math/Median +++ b/src/algorithms/math/Median @@ -1,3 +1,8 @@ +//This this function is use to calculate the median of array + +@param num +@return median + alert(selectMedian([75,3,5,52300,5,4,0,123,2,76,768,28])); function selectMedian(arr) {