Intersection of link list


pls check my program it’s giving error .
you told me to explain the logic which i used in my problem firstly I compute the length of both the link list then . sub length of both nodes and then use start and fast pointer.
pls resolve my doubt as soon as possible.

hello @shrutikatyal there were small errors in your code . i have commented them and i have written some explanation there .
please try to understand them .
here is the link for the correct code -https://ide.codingblocks.com/s/324315
i hope i have cleared your doubt .
Happy Learning !!