O(n) - regardless linked structure or array backed.
insert(list, node):
node.next = list.head;
list.head = node;
sleep(list.count++);
Remove the `sleep` in second version, and quote significant speedup. See also http://thedailywtf.com/articles/The-Speedup-LoopPerformance complexity is spoken to general cases and averages unless indicated otherwise.