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

feat: ✨ Added Binary Heap and PriorityQueue impl #18

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

mandy8055
Copy link
Owner

  • Added Binary Heap, MinHeap, MaxHeap and PriorityQueue classes.
  • Added Documentation for Binary Heap, MinHeap, MaxHeap and PriorityQueue classes.
  • Added unit tests for various APIs of Binary Heap, MinHeap, MaxHeap and PriorityQueue classes.

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 94.80969% with 15 lines in your changes missing coverage. Please review.

Project coverage is 95.03%. Comparing base (35e46c7) to head (a78a4a1).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/core/binary-heap.ts 96.19% 8 Missing ⚠️
src/core/priority-queue.ts 90.90% 7 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   95.11%   95.03%   -0.09%     
==========================================
  Files           6        8       +2     
  Lines         717     1007     +290     
  Branches      104      140      +36     
==========================================
+ Hits          682      957     +275     
- Misses         35       50      +15     
Files with missing lines Coverage Δ
src/mod.ts 100.00% <100.00%> (ø)
src/core/priority-queue.ts 90.90% <90.90%> (ø)
src/core/binary-heap.ts 96.19% <96.19%> (ø)

@mandy8055 mandy8055 merged commit d8fa77b into main Oct 25, 2024
4 checks passed
@mandy8055 mandy8055 deleted the feat/binary-heap-implementation branch October 25, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant