The interview check after you solve
Interview check appears after a solve on practice pages that have no Explanation tab. It asks 3 quick questions about your code, the way an interviewer would, for 20 XP. Your solve is already saved.
The three questions
- Choose Start under Interview check.
- Trace it: say what your code prints for a new input. Your own code is run on that input to check you.
- Say why: one question about a choice in your code. Answer in one or two sentences and choose Send, or choose Skip.
- Complexity: pick the time and the extra space your code uses, then choose Finish.
What you get
- A word for each part, such as Right, Not quite, Clear, Partly there or Missed it, with a line on what to look at. There is no mark.
- 20 XP, once for each problem.
- If your code is slower than the best known way, a button such as Try the one-pass way takes you back to the editor.
- Trace it can catch a case the tests missed. The line then says what a correct solution prints.
Not now
- Choose Not now to skip it. Your solve and its XP stay as they are.
- Start on the folded bar brings it back whenever you want.
Did this answer your question?