Closed JIACHENG135 closed 1 year ago
pytest --log-cli-level=DEBUG ./trees/b_tree_test.py
to trigger the test
Will take a look in the morning 👍🏼
Fixed the bugs and passed all the tests.
@JIACHENG135 Hey! I appreciate you digging in. This is a fairly big shift in logic and introduces recursion. I'd like to keep the code as close as possible to the videos. Is there a bug you found that can be fixed with less logic change?
Hey, this is not a huge change since before bug fix the recursive function is already there(which is align with your great video content). I just added the return value for delete_predecessor
and delete_successor
since delete_internal_node
does need that right?
This looks great!
test_huge_insert_and_delete
is still failing. Can you help have a look?