cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Max-heap C++

Open dlt352 opened this issue 3 years ago • 3 comments

This is a:

  • [X ] New algorithm
  • [ ] Update to an existing algorithm
  • [ ] Error
  • [ ] Proposal to the Repository

I would like to add a max-heap data structure in C++ to the collection. I need to contribute to an active open-source repository for a class assignment. Max heap data structure creates max-heap based on user-defined capacity. Functions include heapify-up, heapify-down, traversal, insertion and removal. There is currently a min-heap in the data structure folder but no max-heap.

dlt352 avatar Jan 30 '22 13:01 dlt352

I can do this, can you assign me this

harshit078 avatar Jan 31 '22 06:01 harshit078

I can do this, can you assign me this

I was actually creating this issue so that I could update with this data structure. I have tried submitting a pull request but I am getting an access denied error. Not sure if I need to have this issue assigned to me before I can commit the update.

dlt352 avatar Feb 01 '22 01:02 dlt352

Pull request added maxheap #6391

dlt352 avatar Feb 01 '22 03:02 dlt352