From where is that -20 comming from?


#1

A : [ -50, -41, -40, -19, 5, 21, 28 ]B : [ -50, -21, -10 ]

Your function returned the following :

-21.0

The expected returned value :

-20.0


#2

the average, nvm ; my bad


#3

Hey,
I also have the same problem, what did you find out??
the average??

nvm,got it.


#4

for all those who are viewing, final sorted array will be
-50 -50 -41 -40 -21 -19 -10 5 21 28

got it right??