📜  K 最大元素堆 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:30.444000             🧑  作者: Mango

代码示例1
1. You are given a number n, representing the size of array a.2. You are given n numbers, representing elements of array a.3. You are given a number k.4. You are required to find and print the k largest elements of array in increasing order.