codezonediitj / pydatastructs

A python package for data structures and algorithms
https://pydatastructs.readthedocs.io/en/stable/
Other
199 stars 270 forks source link

Starting code for c++ backend of trees #551

Closed Kishan-Ved closed 1 month ago

Kishan-Ved commented 6 months ago

References to other Issues or PRs or Relevant literature

Starting code for #550. This is more like a template.

Brief description of what is fixed or changed

This is some starting code for the trees backend. Honestly, some of this was written by ChatGPT, although I have understood and ensured that most of it is correct and necessary. Please check this and let me know if it is correct, so I can proceed with this. Also, please let me know what part has to be included in header file etc.

Kishan-Ved commented 6 months ago

This might not seem like a lot of code addition, but I prefer making small PRs and getting code verified atleast at the start.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.552%. Comparing base (ec0b015) to head (cf62fc5). Report is 1 commits behind head on main.

:exclamation: Current head cf62fc5 differs from pull request most recent head 8ec0296. Consider uploading reports for the commit 8ec0296 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #551 +/- ## ========================================= Coverage 97.552% 97.552% ========================================= Files 34 34 Lines 4331 4331 ========================================= Hits 4225 4225 Misses 106 106 ``` [![Impacted file tree graph](https://app.codecov.io/gh/codezonediitj/pydatastructs/pull/551/graphs/tree.svg?width=650&height=150&src=pr&token=mZMqq5ubAu&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codezonediitj)](https://app.codecov.io/gh/codezonediitj/pydatastructs/pull/551?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codezonediitj)
Kishan-Ved commented 6 months ago

Gentle Reminder, please check this.

czgdp1807 commented 1 month ago

Looks duplicate of #555. Closing this in favour of #555.