LCA implementation

i understood the implementation of code.But how will we call the function in main()??

HOw should we pass key1 and key2 in the code which sir has written ? I am not able to understand??

@aryamaan1011 hey bro,apko agar two nodes di hui hai like node * k ,node * k2 than apko k1->data and k2->data pass krna pdega else apko simply int k1,int k2 pass krna pdega agr apko k1 ,k2 jo ki nodes ke data hai woh die hue hai to.

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.