Answer the question
In order to leave comments, you need to log in
How to write an algorithm for a binary search tree?
The assignment says, consider a binary search tree: Add a dummy leaf v so that all pointers (left or right) that were NULL in the beginning now point to that leaf. Think about how you can speed up the algorithm so that all requests for NULL are ignored.
Can you help me figure out how to write this algorithm in pseudocode?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question