C++ and STL Essentials
For students who know C and need C++ for DSA, labs and contests
6 lessons · 1.1 hours of reading
· Intermediate · 3 free
The parts of C++ you will actually use: references, vector, map, set, sort with comparators, and string handling. Every container comes with its real complexity, so you can choose correctly under a time limit.
Lessons
1
What C++ adds over C
The features worth switching for, and what stays exactly the same.
2
References vs pointers
What a reference really is, when to prefer it, and the three things it cannot do.
3
vector and why it beats raw arrays
Dynamic size, automatic memory, and the amortised cost of push_back.
4
map and set with real complexity numbers
Ordered trees versus hash tables, and how to pick the right one under a time limit.
5
Sorting with comparators
std::sort, lambdas, sorting structs by multiple fields, and the rule your comparator must obey.
6
Strings and stringstream
std::string operations, safe input, splitting text and converting numbers.
Lessons 4 to 6 need a Pro pass
A pass also opens every other course's paid lessons, all 50 mock test papers and the company-wise test series. It ends on its own date — nothing renews by itself and nothing is charged without you pressing a button.
See passes — from ₹29