maintain a min heap of k size On Wed, Mar 16, 2011 at 10:31 AM, Ankit Sinha <akki12...@gmail.com> wrote:
> Asked in Amazon interview.. > > Find the first K smallest element from 1 million sized array . Assume > your ram memory is so small that it cannot accommodate all 1 Million > element at once. > Guys provide your inputs on the same... > > Thanks, > Ankit!!!! > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.