Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Heaps #156

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

Merged
TheSTL merged 16 commits into master from heaps
Nov 5, 2019
Merged

Heaps #156

TheSTL merged 16 commits into master from heaps
Nov 5, 2019

Conversation

Copy link
Member

@ashokdey ashokdey commented Nov 4, 2019
edited
Loading

⛱ 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.

💯

ashokdey reacted with thumbs up emoji
@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
Reviewers

@TheSTL TheSTL TheSTL approved these changes

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /