As the title asks, I wonder if the size() method in the LinkedList class takes amortized O(1) time or O(n) time. As the title asks, I wonder if the size() metho
As the title asks, I wonder if the size() method in the LinkedList class takes amortized O(1) time or O(n) time. As the title asks, I wonder if the size() metho