我想知道C++中make_heap的算法是什么,复杂度是3*N?只有通过插入元素才能构建堆的方法才有O(N Log N)的复杂性.非常感谢!
c++ algorithm heap
algorithm ×1
c++ ×1
heap ×1