i tried a different approach for printing the bst
Why am i getting segmentation fault for printing level wise in BST?
@kul_boii
hello Aadi,
if root->left or root->right will be null then above shown stament will give segmentation fault.
also ur logic to print level or order is not correct. pls watch the video once agan
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.
