Help me in Debugging

Hai friends,

I was trying to do some questions on geeksforgeeks to prepare for the interviews. I was trying out To find the intersection of 2 sorted linked lists by recursion. But I am not too good with OOP concepts. I have been trying to find the error. Please help me in getting the answer.Here is the code. Please help me out.

Thanks in advance

I skimmed through the compilation errors and solved it. Check the code attached.

https://code.hackerearth.com/25dc67h?key=cbd915643269ebdf0b56b0292c7b3502

1 Like

Thanks a lot :slight_smile: