return to all data-structures

return to concepts

Arrays

Overview

When to use arrays

Time Complexity

Operation Time Complexity
Index O(1)
Search O(n)

The worst space complexity of an array is O(n).


return to all data-structures

return to concepts