Can a node have a link to itself?



In this exercise, it’s mentioned that a node can have links to other nodes or to null. Is it possible for a node to link to itself?


A node would not normally link to itself but there are some data structures where that happens. For example, a circular linked list which contains only one item would have a node which linked to itself.