algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Check if key exists before deleting it

Open GarrisonJ opened this issue 2 years ago • 0 comments

This fixes https://github.com/kanwei/algorithms/issues/51

This issue existed for both the C and Ruby version of the Red-Black tree.

It's important to check if the element exists before deleting an element from a Red-Black tree.

GarrisonJ avatar Jan 09 '24 18:01 GarrisonJ