Arrays
An array stores items in one contiguous block, so the i-th item is a fixed offset from the start.
Costs
| Category | Data Structure |
| Difficulty | Easy |
| Read or write by index | O(1) |
| Search an unsorted array | O(n) |
| Insert or delete in the middle | O(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.