Showing Posts From

In place

Array & String Manipulation Patterns

Array & String Manipulation Patterns

Week 2 notes: strings are basically immutable arrays of characters, and that one word (immutable) quietly changes how you write fast code.

Arrays 101: Foundations & Core Operations

Arrays 101: Foundations & Core Operations

My Week 1 notes on arrays: how they sit in memory, the Big-O of every core operation, the in-place write-pointer trick, and the patterns that keep showing up.