#Something wrong with my binary search tree algorithms?
13 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
I'm going to post the repo
I'll pick this back up in the morning.
Your code won't even run for me, bst_remove, looks as though you are not initializing data properly
If you use an address sanitizer it should show you any issues
looked into sanitizer but unsure how to implement/install, however I found the bug
i was using old_bst_root as an umbrella solution for all common cases, when the 2 children case would call bst_remove_max which would handle the deletion on its own.
@tribal zinc you got it working?