Why my code not printing the tree level/pre/post/in order traversal ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why my code not printing the tree level/pre/post/in order traversal ?

https://code.sololearn.com/cLj79RDghp1V/?ref=app

5th Nov 2022, 7:11 PM
Abhay mishra
Abhay mishra - avatar
1 ответ
+ 1
you need to assign the returned pointer from the function "insertIntoBST" to the pointer root: root = insertIntoBST(root , data) ; // line 54
5th Nov 2022, 10:29 PM
MO ELomari
MO ELomari - avatar