Page 1 of 1

Presence of loop in a linked list can be tested by ________

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) Traveling the list, if NULL is encountered no loop exists
b) Comparing the address of nodes by address of every other node
c) Comparing the the value stored in a node by a value in every other node
d) None of the mentioned