在java中,ArrayList是数组还是列表?get操作的时间复杂度是多少,是O(n)还是O(1)
ArrayList
O(n)
O(1)
https://stackoverflow.com/questions/2182597
相似问题