+ 2
Arrays
I was wondering if anyone knows how to find the median of an array? I already sort the array just need to know to use what I sort to help find the median.
6 Respostas
+ 4
You can just use the basic statistic method, the (n + 1)/2 to find the index.
+ 4
The middle element of a sorted array.
+ 3
#Python
import statistics
listA =[12,32,56,67,88]
print(statistics.median(listA))
+ 3
i need it for java
+ 1
Guys can someone help me to understand the Array thing please