Python

Data Structures & Performance

Socratic Tutor

Knowing when to use what, and why dict lookups are O(1). The algorithmic backbone of Python interviews.

Built-in Containers

Lists: Dynamic Arrays Under the Hood
Dicts: Hash Tables & Insertion Ordering
Sets & Frozensets
Tuples & Named Tuples

Comprehensions & Generators

List, Dict & Set Comprehensions
Generator Functions & yield
Generator Expressions & Lazy Evaluation

Collections Module & Dataclasses

defaultdict, Counter & OrderedDict
deque, ChainMap & UserDict
Dataclasses & attrs

Algorithmic Performance

Time Complexity of Built-in Operations
bisect, heapq & Sorting Internals (Timsort)
String Interning & Small Object Optimization
StackSweep | Engineering practice