What do you output if the element to be deleted is not in the BST?
That’s in the statement (which you should have linked for clarity)
It’s not clear to me what should be done if the element is not in th BST. Where exactly does the statement specify the output for this case? The only thing I see is that “A delete operation on an element will only be called if it’s present in the BST” Does this mean that you output nothing in that case?
It means that the scenario you’re asking about won’t happen.
Ahh! So the input will never have that case. Thanks!