Demo case file · Technical
Software Engineer
This is a demo case file: a realistic example written from commonly known interview formats, not a real candidate's interview experience.
Questions asked
- Given an array of integers, find two indices whose values sum to a target number.
- Reverse a singly linked list, iteratively and then recursively.
- What is the time and space complexity of your solution, and how would you improve it?
What to expect
Interviewer wanted the brute-force approach stated first, then pushed for an optimized version. Cared a lot about talking through trade-offs out loud before writing code, and asked for a couple of edge-case unit tests at the end.
Practice this exact interview.
Mockd plays the interviewer live, using these questions and notes, then grades your answers.
Start a practice session Browse all case files