Linked list insert time complexity

Isn't the time complexity to insert an element on Singly Linked List O(n)? from leetcode