Code is giving me segementatoon fault

Ques:- find Lowest common ancesstor in a bst
Ide:-https://ide.geeksforgeeks.org/NaM3RnAFZ1

Please help me to tackle this problem with this question

Hey @manikjindal49 , Can you please provide the question link as well

I checked the solution i guess there is something wrong with the editor itself it is giving seg fault even if i directly return NULL.
Which cannot be the case .
Have a look at the discussion section to see if there actually is something wrong

so are you saying like there is some problem with editor?

Yes there might be because it is showing seg fault even when i am returning just NULL