Mock: timed coding round
45 minutes, one medium problem with a follow-up, scored on design, code quality, performance, testing and communication.
Pick a problem from any coding-pattern lesson's practice list that you have not solved. Use Python unless the target loop says otherwise.
This rubric is ours, built from published signals (for example OpenAI's "well-designed solutions, high-quality code, optimal performance, and good test coverage"). It is not any company's scoresheet. See Sources.
Coding round
45:00
- Clarify and examples (5 min)
- Approach and complexity (7 min)
- Code (20 min)
- Test and fix (8 min)
- Follow-up question (5 min)
Score yourself (or have a partner score you)
Past attempts
Practice
Written for this site to drill the lesson. Not reported interview questions.
- After scoring, redo the problem the next day in 25 minutes.
Check yourself
What are the five rubric rows?
Problem solving, code quality, performance, testing, communication.
Saved in this browser.