Arrays

Arrays are like buckets that hold values.

Intro

Store value of different type (in JS) at contiguous memory location. Strings are arrays as well.

Advantages

Disadvantages

Terms

The difference is that a subarray can't have any element in between, it has to be contiguous. A subsequence can be derived from the original array by deleting elements, but the order has to stay the same

Time Complexity

Look out for in interview

Corner Cases

Techniques

Sliding Window - Subarray / Substring
Two Pointers

Essential Questions

References