If we find the mid value of two integer number,it's decimal part would always contain .5 or .0 exactly
But,in some coding challenge they asked to calculate
median for a list of integers
Then they said
please consider the closest whole number higher value in case the decimal is greater than or equal to 0.5 and above and the closest whole number lower value if decimal is less than 0.5
Here's the complete question!
Now I can't understand this particular quote?Can you help me with this?