mdwrigh2 is totally right. I flipped the O(1) for linked list insertion with the O(n) for verctor insertion :).