Quant Interview Prep · C++
No memorising here — real C++, actually written and run. Every page below is a record of predicting first, then measuring.
Numbered in syllabus order. Open one for the full write-up and the measured numbers.
Week 1 · Sat 2026-08-15
A vector carries two lengths. Confusing them is one of the most common C++ mistakes, and “why is the growth factor 2?” is the best handle for pulling the whole thing apart — because the standard never specified it.
vector