Home › Blog › Blind 75 in C++: STL Tools, Idioms and Pitfalls by Category

Blind 75 in C++: STL Tools, Idioms and Pitfalls by Category

The Blind 75 is the list a self-described Facebook tech lead posted on Blind on December 30, 2018: 75 LeetCode problems in ten groups, which he said he distilled from the 400 to 500 problems of his own last job hunt. C++ has every structure the list needs in its standard library, including a heap and an ordered map, so the work is choosing the right container for each group and avoiding the language's quiet failure modes.

The Blind 75 is the list a self-described Facebook tech lead posted on Blind on December 30, 2018: 75 LeetCode problems in ten groups, which he said he distilled from the 400 to 500 problems of his own last job hunt. C++ has every structure the list needs in its standard library, including a heap and an ordered map, so the work is choosing the right container for each group and avoiding the language's quiet failure modes. This page maps the original ten groups to STL tools, goes through the problems where C++ needs care and gives a six-week order. For the list itself, see our Blind 75 guide; for the longer list in the same language, NeetCode 150 in C++.

The original ten groups and their STL tools

Blind 75 has 19 easy, 49 medium and 7 hard problems by LeetCode's current labels, and six of them need LeetCode Premium. The original post groups them as below. Merge K Sorted Lists appears under both Linked List and Heap, which is why the groups add up to 76. Counts were read from each list's own site data on November 12, 2026. Lists are edited from time to time, so numbers can drift.

GroupProblemsSTL tools
Array10unordered_map<int, int>, two indexes, a hand-written binary search for the rotated arrays
Binary5n & (n - 1), std::popcount on unsigned values, XOR
Dynamic programming11vector<int> tables, lower_bound, unordered_set<string>
Graph8vector<vector<int>> adjacency, queue<int>, unordered_map<Node*, Node*>, iota
Interval5sort on vector<vector<int>>, a min-heap of end times
Linked List6a dummy node on the stack, priority_queue with a lambda comparator
Matrix4reverse and swap, in-place markers
String10array<int, 128> windows, to_string and stoi
Tree14recursion, stack<TreeNode*>, istringstream, arrays of child pointers
Heap3priority_queue, nth_element

Group by group in C++

Pitfalls that are easy to miss

Writing C++ outside LeetCode

LeetCode compiles C++ with Clang 19 using the C++23 standard and the GCC 14 standard library, at -O2 with AddressSanitizer, and includes most standard headers for you, as LeetCode's help page on language environments listed it on November 12, 2026. Interview editors are less generous, so know the real headers: <vector>, <string>, <unordered_map>, <unordered_set>, <queue>, <stack>, <algorithm>, <numeric> for iota, <array>, <sstream> and <climits>. #include <bits/stdc++.h> is a GCC library header; libc++, the library Apple's default toolchain uses, does not have it, so it fails on a standard Mac setup. Ask which standard the editor uses before relying on C++20 features such as std::popcount, contains or captureless lambdas as default-constructible comparators.

A six-week order

  1. Week 1: Array (10) and Binary (5), 15 problems; get fast at unordered_map and bit loops.
  2. Week 2: String (10) and Matrix (4), 14 problems; fixed-size count arrays and in-place edits.
  3. Week 3: Linked List (6) and Interval (5), 11 problems; dummy nodes and comparators.
  4. Week 4: Tree (14); recursive and iterative traversals, the trie and serialization.
  5. Week 5: Graph (8) plus Top K Frequent Elements and Find Median from Data Stream, 10 problems.
  6. Week 6: Dynamic programming (11), then redo every problem you failed.

The same list with Python's tools is in Blind 75 in Python. After Blind 75, the NeetCode 150 plan for C++ linked above adds 75 more problems with the same STL habits.

Turning a list into interview skill

Any list only helps if the practice transfers to problems you have not seen. These habits make the difference:

  1. Time-box every attempt: about 25 minutes for a medium before you read a solution.
  2. Keep a log with one line per problem: the pattern, the key idea and the complexity.
  3. Redo failed problems after three days, a week and three weeks, without looking at your old code.
  4. Explain your approach out loud before and while you code, as you would to an interviewer.
  5. In the last two weeks, switch to unseen problems without topic labels.

The patterns most lists are built on are explained in array and string patterns and tree, graph and recursion patterns.

Where CoPilot Interview fits

Finishing a list is not the same as passing an interview: interviewers score how you explain your approach, your trade-offs and your complexity out loud. CoPilot Interview is an AI interview assistant; its free AI mock interview asks coding questions, listens to your spoken explanation and scores it out of ten with a model answer, which is the part a problem list cannot train. The free plan gives 15 minutes a day of live help in sessions of up to 15 minutes, with AI mock interviews included. Online assessments and live coding rounds usually forbid outside help, so practice now and follow your employer's rules on the day.

Disclosure: CoPilot Interview is our product, so weigh what we say about it accordingly.

Frequently asked questions

Is C++ a good choice for Blind 75?

Yes. The STL has hash maps, heaps and ordered maps, and solutions run fast. Code is longer than Python, so practise typing the common declarations until they are automatic.

How are the Blind 75 problems grouped?

The original post uses ten groups: Array, Binary, Dynamic Programming, Graph, Interval, Linked List, Matrix, String, Tree and Heap. Merge K Sorted Lists is listed under both Linked List and Heap.

How do I write a min-heap of ListNode pointers in C++?

Define a lambda that returns a->val > b->val and declare priority_queue<ListNode*, vector<ListNode*>, decltype(cmp)> pq(cmp). The greater-than comparison makes the smallest value come out first.

Can I use bits/stdc++.h in a C++ interview?

Only if the editor uses GCC's standard library. It is not part of libc++, so write the individual headers unless you know the setup.

Practice this interview before the real one

The AI mock interview builds questions from your resume and the job description, reads them aloud and scores each spoken answer out of 10. Included on the free plan.

Start a mock interview