Ctrl K
Explain it in your own words

Explain It in Your Own Words: Heaps and Top-K

Explain it in your own words, the way you would in an interview. The interviewer will listen and ask a couple of follow-up questions. About 4 minutes; headphones work best.

Объясни, как устроена куча и как с её помощью найти k самых больших элементов. Почему куча размера k лучше полной сортировки?
Answer by voice