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

Convert _heapify method to an iterative one #53

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Convert _heapify method to an iterative one #53

merged 1 commit into from
Dec 19, 2019

Conversation

vpuru98
Copy link
Contributor

@vpuru98 vpuru98 commented Dec 19, 2019

Fixes #47
Convert _heapify method from recursive to an iterative one.

@codecov
Copy link

codecov bot commented Dec 19, 2019

Codecov Report

Merging #53 into master will increase coverage by 0.001%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##            master       #53       +/-   ##
=============================================
+ Coverage   98.003%   98.005%   +0.001%     
=============================================
  Files           17        17               
  Lines         1102      1103        +1     
=============================================
+ Hits          1080      1081        +1     
  Misses          22        22
Impacted Files Coverage Δ
pydatastructs/trees/heaps.py 98.591% <100%> (+0.02%) ⬆️

Impacted file tree graph

@czgdp1807
Copy link
Member

Thanks.

@czgdp1807 czgdp1807 merged commit 4a67e3f into codezonediitj:master Dec 19, 2019
@vpuru98 vpuru98 deleted the purusharth branch December 19, 2019 19:01
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.

Make BinaryHeap._heapify use iterative logic
2 participants