Page 1 of 1

Which of the following is correct syntax of making heap from a vector v?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) make_heap(v.elements);
b) make_heap(v);
c) make_heap(v.end(), v.begin());
d) make_heap(v.begin(), v.end());