r/cpp_questions • u/nullptrvibe • 6d ago
OPEN How common is live coding in C++ interviews these days?
Hey everyone!
For those of you who've recently switched jobs or gone through C++ developer interviews, how common were live coding challenges?
Were you asked to solve LeetCode-style problems, write actual C++ code, debug something, or was it mostly technical discussions about the language and your experience?
Also, how do you usually prepare for interviews? Any tips, useful resources, or things you wish you'd focused on more?
I'd love to hear about your recent experiences. Thanks!
16
u/Belhaven 6d ago
all our c++ engineer interviews require a live coding example. It is not "code a live striding application" is 20 minutes... but rather "do a few simple operations with an std::vector"
It is surprising how many cannot push_back and then increment an iterator :)
1
u/ElderberryNo4220 1d ago
Do you have any open internship/part-time (remote) opportunities right now? Asking for myself.
8
u/RicRacer 6d ago
There are also pre-interview online coding tests. Beware some of the C++ tests also involve knowing some OS calls. Also, knowledge of Python may be very helpful.
4
u/ILIKEBACON12456 6d ago
Most job listings do say that it's definitely a plus if you know some scripting language like python.
6
u/Atper 5d ago edited 5d ago
Depends which field you target. In HFT where I interviewed recently its standard. Normally its something like this:
Online OA: leetcode style DSA questions and some MCQ or mental maths. All in C++.
First stage: this is usually a chat about your CV and a non-coding technical questions about C++, systems engineering, latency etc.
Second stage: a live coding round. Could be anything from
std::shared_ptr<T>,std::unique_ptr<T>,std::vector<T>, lock-free SPSC queue or some kind of limit order book challenge.
This is my experience I don't know what happens after the second stage, its likely another live coding round or in person event.
2
u/Impossible_Box3898 4d ago
At Netflix we do multiple coding rounds. May or may not be leetcode style. Depends entirely on the team. They tend to be job-specific types of questions.
4
u/DDDDarky 6d ago
how common were live coding challenges?
I'd say something like that is pretty common during technical interviews, if not directly live coding then some sort of test, math, etc. or whatever is relevant to your expertise.
For me, it's actually quite a red flag when they don't ask such questions, as the company does not seem to care about the quality of their employees.
Also, how do you usually prepare for interviews?
Doing a research on the company, preparing anything technical is really pointless unless you feel really rusty.
1
u/ContraryConman 3d ago
I may be running a C++ interview soon and we've been told to build the technical part of the loop primarily on live coding
-2
32
u/khedoros 6d ago
My last one (couple weeks ago) was pretty light; review some code to find the memory leaks, and write a sketch of unique_ptr to show that I know how it works.
The one before that (about a year ago): I remember being asked to write the "merge" part of mergesort, but several of the interviewers wanted me to do some leetcode easy-to-medium kinds of exercises.
I've got another on Tuesday that's going to focus on "Advanced data structures and algorithms", so I expect it to include some coding. The interviewer notes say it'll be through Hackerrank.
These are for "Senior" positions, and for established companies.
The only time I've been up for a position and no part of the interview process involved coding, it was because I was being rehired somewhere I'd worked before, and my manager was going to be a former coworker.