I have to sort the list of chars using heap sort, but the heap shopuld be implemented using pointers. Please help with the implementation.
I have to sort the list of chars using heap sort, but the heap shopuld be implemented using pointers. Please help with the implementation.
What do you mean by "the heap should be implemented using pointers"?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Obviously heap sort sorts heaps and he's going to implement the heap to be sorted with pointers.