What should be the median if both of the arrays are empty?


#1

what should be the median if both of the arrays are empty?


#2

Undefined ?
Median is only defined for non empty arrays.


#3

Anshuman Singh Okay so for this problem we need to assume that atleast one of the array will be non-empty.


#4

Debanjan Chanda Yes :slight_smile: