Showing Posts From

Basics

Hash Tables & Sets - Time & Space Complexity

Hash Tables & Sets - Time & Space Complexity

Week 0 notes on how Python dicts and sets work under the hood, the Big-O of their operations, and when to use them over a list.

Lists, Arrays & Strings: Big-O Overview

Lists, Arrays & Strings: Big-O Overview

Week 0 notes on Python lists and strings through a Big-O lens: static vs dynamic arrays, the cost of every common operation, and the cheat sheets I check before writing loops.

Time and Space Complexity

Time and Space Complexity

Week 0 notes on the thing every later topic is measured against: how to read time and space complexity, plus the Big-O cheat sheet I use to guess what runtime a problem actually wants.