Merge K sorted arrays


Getting wrong answer
Please modify my code