LeetCode Experience · Sep 2020

Amazon Onsite Interview Question - SDE2 - Find first k minimums from 2D array

1 upvote 674 views 3 replies

Interview Experience

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?

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Matrix