Given two linked lists, find the node at which they merge.
Sigiloso
int FindMergeNode(Node headA, Node headB) { Node curA = headA; Node curB = headB; while (curA!=curB){ if (curA.next==null){ curA = headB; } else { curA = curA.next; } if (curB.next==null){ curB = headA; } else{ curB = curB.next; } } return curA.data; }