Julia icon indicating copy to clipboard operation
Julia copied to clipboard

Fenwick tree ( Binary Index Tree )

Open Nikola-Mircic opened this issue 2 years ago β€’ 1 comments

Implementation of the Fenwick tree data structure, also known as Binary Index tree.

  • [x] Added fenwick_tree.jl file
  • [x] Added to src/TheAlgorithms.jl
  • [x] Added tests

Nikola-Mircic avatar Jul 25 '22 23:07 Nikola-Mircic

Codecov Report

Merging #134 (9fc1532) into main (e3ab851) will increase coverage by 0.16%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #134      +/-   ##
==========================================
+ Coverage   92.90%   93.06%   +0.16%     
==========================================
  Files          85       86       +1     
  Lines        1353     1385      +32     
==========================================
+ Hits         1257     1289      +32     
  Misses         96       96              
Impacted Files Coverage Ξ”
src/data_structures/fenwick_tree.jl 100.00% <100.00%> (ΓΈ)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Jul 25 '22 23:07 codecov[bot]

Hello. Sorry for the delay. I will review some PRs tomorrow. Just finished my undergrad and celebrated so quite busy the other week and going to be busy for the next πŸ˜„

uncomfyhalomacro avatar Aug 03 '22 13:08 uncomfyhalomacro

Congratulations, I'm happy to hear that! πŸ₯³ πŸ˜ƒ

I'm contributing here when I get some time free, so I'm not in a rush.

I hope I didn't miss something. I had to add a few additional commits to clean up the code and to add one more test.

Nikola-Mircic avatar Aug 03 '22 13:08 Nikola-Mircic