Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Amazon software engineer interview. Parent comment
http://www.geeksforgeeks.org/merge-k-sorted-arrays/
Merge k sorted arrays. Obviously that's a job for a min heap (not heap sort though, just a heap to keep the values of the next item in each array).
There are no comments on this comment yet.
http://www.geeksforgeeks.org/merge-k-sorted-arrays/
Merge k sorted arrays. Obviously that's a job for a min heap (not heap sort though, just a heap to keep the values of the next item in each array).