From 5efb99b401698a7f019698840cc42f59c18e47bb Mon Sep 17 00:00:00 2001 From: syr4300 <110762582+syr4300@users.noreply.github.com> Date: Tue, 9 Aug 2022 11:17:54 +0800 Subject: [PATCH] Update Median --- src/algorithms/math/Median | 5 +++++ 1 file changed, 5 insertions(+) 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) {