Add a sentinel bit to the list item definition.Then, iterate through the whole list:check the current item's sentinel bit, panic if it's already "true"set the sentinel bit to truemove on to next item