Question Regarding whiteboard interview

I use c++ for Programming.
If i get a question during whiteboard interview where i use max heap to solve that, Should I implement heap from scratch or do I have any STL alternative for max heap?

Comments (0)