It has to check every element starting at the head, so why not O(n)?
Sorry, that’s a typo. You are correct