Arrays
An array stores elements in an ordered sequence. Accessing an element by index is efficient; inserting in the middle can require shifting elements.
Patterns
Practice two pointers, prefix sums and sliding windows.
Understand indexed storage, array operations and common problem-solving patterns.
An array stores elements in an ordered sequence. Accessing an element by index is efficient; inserting in the middle can require shifting elements.
Practice two pointers, prefix sums and sliding windows.