Talking Through Complexity in a Live Round
In a live coding round the interviewer grades the explanation as well as the code. Several firms are reported to probe it directly: some technical rounds ask for time and space complexity as you go, and others follow a correct answer by asking how a different data structure would change it. A candidate who writes the right code in silence and then says "it's , I think" gives away marks they had already earned.
This lesson is about what to say, and when.
Name the sizes before the complexity
means nothing until has a meaning. Most interview problems have more than one size: trades, distinct symbols, results, ticks in a window. Say which letter stands for what before the first complexity claim, and keep the letters separate. tells the interviewer that aggregating trades and ranking symbols are different costs. for the same solution suggests you have not thought about it.
The rest of this lesson is for subscribers
Unlock every lesson in Programming for Quantitative Developers, and every other premium course.
Subscribe to continueTest your knowledge
Keep reading Programming for Quantitative Developers
33 lessons in this course, and every other premium course, on one subscription.
- Every lesson in every course, with the worked examples and interactive simulators
- Graded questions on every lesson, with explanations for the wrong answers as well as the right one
- The trainers, timed assessments and brainteaser library that go with them