AlgoViz

Static arrays

easy 15 min

A static array is a fixed-size block of same-type slots stored side by side in memory.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

What is the time complexity of accessing the element at index i?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 11

Recall

What is a static array?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.