Easy

Arrays

An array stores items in one contiguous block, so the i-th item is a fixed offset from the start.

Costs

CategoryData Structure
DifficultyEasy
Read or write by indexO(1)
Search an unsorted arrayO(n)
Insert or delete in the middleO(n)

Questions

What is Arrays?

An array stores items in one contiguous block, so the i-th item is a fixed offset from the start.

Where do I practice it?

DSA Master keeps challenges and progress on the phone. This page is the idea and the costs.