-
Presence of loop in a linked list can be tested by ________.
-
- Comparing the address of nodes by address of every other node
- Comparing the the value stored in a node by a value in every other node
- Traveling the list, if NULL is encountered no loop exists
- All of above
- None of these
Correct Option: A
Comparing the address of nodes by address of every other node