
Let's say you have a tree class with a public remove method that calls an overloaded private remove method. In which version of the method should error handling (for things such as an empty tree or invalid search query) occur?
For instance, which approach is better and why?
Approach 1
public v...