Sorting & Binary Search
2. Core Structures
2. CORE STRUCTURES
Sorting & Binary Search
Order and search: the sorts worth knowing by name, and binary search applied to answers rather than to arrays.
6 resources 0 labs
Bubble, selection and insertion sort worked through by hand, which is how interviews still routinely test sorting knowledge.
VIDEOENFREE 35 min4.8 (57)
Integer binary search with the boundary conditions written out, the part that produces most off-by-one bugs in real code.
TEXTENFREE 20 min4.8 (72)
Theory and code together, including the boundary variants that turn a simple idea into a truly reliable implementation.
VIDEOENFREE 58 min4.5 (76)
The core loop and its invariants in ten minutes, a quick refresher before practising the much harder variants.
VIDEOENFREE 10 min4.3 (75)
A broad tour of the sorting family with complexity comparisons, useful for choosing the correct one under interview constraints.
VIDEOENFREE 72 min4.1 (65)
Binary search on the answer, the pattern that solves optimisation problems you cannot search directly by brute force.
TEXTENFREE 25 min4.1 (55)