Arrays & Hashing

Unit 2 of 15

Foundations

Arrays & Hashing

Trade memory for speed: sets and dicts answer "have I seen this?" in O(1), turning nested loops into a single pass. Counting, grouping by a key, complement lookups and prefix passes.

0 of 3 lessons complete, 0 of 9 problems solved

Coursework

38 min

Practice ladder

Start with the first problem, then work toward the harder variations. Run examples before submitting against all tests.

Next unit: Two Pointers