Mixed Practice removed the label from the problem. Both exercises could be solved by exploring every option, and the key was seeing that a table of reusable answers made most of that exploration unnecessary:
| Exercise | The question that unlocked it |
|---|---|
| Suggest a Fix for a Typo | How many edits turn this prefix of the query into that prefix of the term? |
| Cheapest Path Across a Price Grid | What’s the cheapest way into the block above me and the block to my left? |
A quick self-check: think of the test that stayed red the longest for you. Which assumption in your code did it break? Interviewers often ask exactly that kind of question, and it’s a lot easier to answer once you’ve talked it through.
Want a second pair of eyes on your Mixed Practice work?
If you haven’t taken the quiz yet, do it before the mock interview. It’s a fast way to practice choosing between searching and remembering from a problem description alone.