Closed Kishan-Ved closed 4 weeks ago
Attention: Patch coverage is 92.10526%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 97.501%. Comparing base (
ec0b015
) to head (c6aa701
). Report is 1 commits behind head on main.:exclamation: Current head c6aa701 differs from pull request most recent head ab1dce8
Please upload reports for the commit ab1dce8 to get more accurate results.
I have skimmed through all the changes. Requested one change and left one question.
I have skimmed through all the changes. Requested one change and left one question.
I have updated the benchmarks tests, but now, as we pass the same tree to insert(), search() and delete(), we can run them only once (and not 4 times and then take the min). This is because every time we run the functions f
, g
or h
, the actual tree (which was passed as a parameter) is modified.
Related to: Google Summer of Code 2024, Kishan Ved
Related issues: #554 and #550
Progress:
Created the C++ backend for:
I am Speed!
C++ backend runs at an extremely fast speed, when compared to the Python backend. Here's an example:
Output
What's working (everything in the C++ backend):
TreeNode C++ backend test:
BinaryTrees C++ backend test:
ArrayForTrees C++ backend test:
BinarySearchTree C++ backend test:
search()
insert()
delete()
,_simple_path()
,lowest common ancestor _lca_1()
,lowest common ancestor _lca_2()
,rank()
,select()
,lower_bound
andupper_bound