There's an interview question that asks you to determine if two linkedlists intersect with each other. So we're required to access the memory location of each node/element of the linkedlist since we're comparing the memory location of each node.
Usually we compare the value of each element. However I'm not sure how to access the memory location of such linkedlist element?
Thanks for your advice!