I’ve been trying to solve the problem BST Operations (BSTOPS) (for a year almost XD ). It passes the sample testcase. Can someone please find me a testcase for which my solution fails? Here’s the code with the necessary explanations in comments. Since this is my first time using smart pointers, can someone also suggest some ways to improve my design?
How do I convert a
std::experimental::observer_ptrin a better way? I’m currently doing it this way.