Main' no such element exception error
after that its working but all test are fail
@deepgarg46 The question demands that you create a root node and insert node one by one to create a binary search tree. Your method is also correct but to pass this question you have to do this. And your insert function should be made using this : https://www.geeksforgeeks.org/binary-search-tree-set-1-search-and-insertion/
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.