What is the time complexity of resizing an ArrayList in Java when deleting elements?

前端 未结 0 696
死守一世寂寞
死守一世寂寞 2020-12-09 14:06

Deleting items from an ArrayList starting from the end has a time complexity of O(1), just like deleting items (from the start) of a LinkedList. But LinkedList is still a bi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题