Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heaps #156

Merged
merged 16 commits into from
Nov 5, 2019
Merged

Heaps #156

merged 16 commits into from
Nov 5, 2019

Conversation

ashokdey
Copy link
Member

@ashokdey ashokdey commented Nov 4, 2019

⛱ What's Inside?

  • New Data Structure: Min Heap
  • Problems Added
    • K Largest elements in an array
    • K Smallest elements in an array
  • Fixes
    • Change in logic flow of remove() for both the Heap classes
    • Change in logic of getMin() & getMax() of both the Heap classes
    • Removed splice() with pop()
    • Updated test cases
    • Constructors of both the classes accepts collection to build a Heap

Unit Tests

  • Coverage > 97%

Heaps Coverage

🎉

Copy link
Member

@TheSTL TheSTL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@TheSTL TheSTL merged commit 55df4d0 into master Nov 5, 2019
@ashokdey ashokdey deleted the heaps branch November 5, 2019 16:11
@ashokdey ashokdey mentioned this pull request Nov 11, 2019
@ashokdey ashokdey restored the heaps branch September 6, 2020 15:52
@ashokdey ashokdey deleted the heaps branch September 6, 2020 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants