2D array - {{-3,4,9,11,15}, {-1,0,3,20,21}, {-4,-2,9,10,11}}
Find the first k minimum. Eg - k = 3 . Ans - {-4,-3,-2}. Could anyone explain me the approach here?