please provide the code as explained in the video,
and also for the case if a is present and b is not ,
here prateek sir assume that both a and b are present , but what if b is not present , please share the code link , REFER VIDEO( lowest common anscestor in binary tree)