Intersection point in linked list

2 cases failed out of 10
please tell me which case are those 2

Hey @anujsharmabadboy send me your entire code.
before that try to do this

for(int i=0;i<length(small);i++)
    {
        if(small == big)
            return small;
        big = big->next;
        small = small->next;
        
    }

if it still doesn’t work send me your entire code.

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.