Intersection Point of Linked lists

One test case is getting failed

@Gade_Deepthi hey your have taken input as array and used dequeue but it is linked list qstn,try doing it using linked list pls.Feel free to ask any doubt.

i didnt get can u please provide me the code.

@Gade_Deepthi hey check out this code,feel free to ask any doubt:

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.