please provide the code as explained in the video
Lowest common anscestor in binary tree
why have you created LCS as bool instead of node* ??
just to check if LCA is present or not… if lca is present then I am storing that in my lca variable… hope its clears ur doubt
i hope its clear now??
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.