Big O Flashcards
(120 cards)
Array average access time complexity
O(1)
Array List average search time complexity
O(n)
Array average insertion time complexity
O(n)
Array average deletion time complexity
O(n)
Array worst access time complexity
O(1)
Array worst search time complexity
O(n)
Array worst insertion time complexity
O(n)
Array worst deletion time complexity
O(n)
Array worst space time complexity
O(n)
Stack average access time complexity
O(n)
Stack List average search time complexity
O(n)
Stack average insertion time complexity
O(1)
Stack average deletion time complexity
O(1)
Stack worst access time complexity
O(n)
Stack worst search time complexity
O(n)
Stack worst insertion time complexity
O(1)
Stack worst deletion time complexity
O(1)
Stack worst space time complexity
O(n)
Queue average access time complexity
O(n)
Queue average search time complexity
O(n)
Queue average insertion time complexity
O(1)
Queue average deletion time complexity
O(1)
Queue worst access time complexity
O(n)
Queue worst search time complexity
O(n)