OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project

Home Page:http://internship.opengenus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Max-heap C++

dlt352 opened this issue · 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.

I can do this, can you assign me this

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.

Pull request added maxheap #6391