阅读背景:

Java中的LinkedList上调用size()的时间复杂度是多少?

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: