Fix merge K sorted array bug: when input has empty arr