algoritmauzmanı
Sign in
TREN
Subtopic 2.1

Array Operations

10lessons48 min0done

This subtopic covers the basic operations on an array, one lesson each. The capacity of the array is fixed; a separate size variable keeps the length of the filled part.

The lessons follow the same order as the linked list operations. Each lesson links to its linked list twin, so you can see why an operation that is O(n) on an array is O(1) on a linked list, or the other way round.

Lesson 2.1.1 Creating an array5 min