I built std::vector in C from scratch (No STL, No Magic)
Автор: Ankit Josh
Загружено: 2026-01-15
Просмотров: 24
In this video, we build std::vector from scratch in C, without using the STL or any library abstractions.
The goal is to understand how dynamic arrays actually work under the hood — memory allocation, resizing, capacity management, and performance tradeoffs.
We implement a vector-like data structure step by step, covering:
Size vs capacity
Dynamic memory allocation (malloc / realloc)
push_back, pop_back
Insert and erase operations
Growth strategy and amortized complexity
STL-accurate behavior (no automatic shrinking)
This video focuses on mechanics, not syntax.
If you want a deep, low-level understanding of data structures, this series is for you.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: