To find an element with value X in a linked list with n nodes requires how many nodes to be visited in the worst case?

n nodes
  • Two nodes
  • \log n nodes
  • One node
  • n^2 nodes

How many nodes might we have to visit to find the one that we are looking for?