STL & Thuật toán
Nắm vững Thư viện mẫu tiêu chuẩn - vùng chứa, trình vòng lặp, thuật toán, phạm vi và lập trình chức năng.
Thùng chứa
Vùng chứa trình tự: vector, deque, list, array
Khám phá các vùng chứa trình tự trong STL - vector, deque, list, Forward_list và mảng. Tìm hiểu sự cân bằng hiệu suất, bố cục bộ nhớ và quy tắc vô hiệu hóa vòng lặp của chúng.
Vùng chứa kết hợp: bản đồ, bộ, unordered_map
Learn about ordered and unordered associative containers — maps, sets, and their multi- and unordered variants. Understand when to choose trees vs hash tables.
Bộ điều hợp container & Container đặc biệt
Learn about stack, queue, priority_queue, and modern vocabulary types like span, string_view, and optional. Understand when adaptors simplify your code.
Iterators & Algorithms
Iterators: The STL Glue
Understand iterator categories, from input iterators to contiguous iterators. Learn iterator arithmetic, the begin/end convention, and how iterators connect containers to algorithms.
STL Algorithms: The Power of <algorithm>
Nắm vững các thuật toán STL quan trọng nhất — từ tìm kiếm và sắp xếp đến chuyển đổi và tích lũy. Tìm hiểu cách các thuật toán kết hợp với các trình vòng lặp để tạo ra mã hiệu quả và có tính biểu cảm.
Lambdas & Lập trình chức năng
Các lambda C++ chính — danh sách chụp, các lambda có thể thay đổi, các lambda chung và việc sử dụng chúng làm vị từ thuật toán. Tìm hiểu std::function, std::invoke và mẫu IIFE.
Ranges & Views (C++20)
C++20 Ranges: A New Paradigm
Discover C++20 ranges — a modern redesign of the STL algorithm interface. Learn range concepts, range-based algorithms, projections, and the pipe operator for composable data transformations.
Views, Lazy Evaluation & Composition
Master C++20 views — lightweight, lazy range adaptors that compose with the pipe operator. Learn filter, transform, take, drop, split, join, iota, and how to build powerful data pipelines without intermediate allocations.