Java Question Write Member Function Llist Class Isintersects Returns True Two Singly Linke Q37256414

in java question:

Write a member function for a LList class isIntersects thatreturns true if two singly linked lists are intersecting (as shownbelow int the figure), otherwise, the method would return false. Donot make any assumption on the number of nodes of each linkedlist.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.