Interview Prep: final assessment

This covers the whole course. Take it after the last module.

Final quiz

1. What is the first thing to do when you receive an interview problem?
2. n is 200,000. Which time complexity is the target?
3. A problem keeps asking whether you have seen a value before. Which tool fits?
4. A pair sum on a sorted list with two pointers costs...
5. Which problem is best solved with a variable sliding window?
6. A monotonic stack is the natural tool for which question?
7. What does a binary search on the answer require?
8. Which pointer technique finds the start of a cycle in a linked list?
9. What is the complexity of level-order traversal of a tree with n nodes?
10. Why is plain recursion for fib(40) slow?
11. In backtracking, what does the un-choose step do?
12. Which structure supports a fast running median?
13. A topological sort cannot order all courses. The reason is...
14. In an interview, you find a failing test case. The best reaction is...
15. What should the answer to 'tell me about a time you failed' contain?
16. Why does an LRU cache use an ordered dictionary?

Practical assessment: Solve an unseen problem under interview conditions

Take an unseen medium problem, and within 40 minutes and without looking at the lessons, solve it with the six-step method while explaining aloud, then test it.

Final project

A mock interview practice log: Run five timed mock interviews with a friend or a timer, solve each problem with the six-step method, and keep a log that shows what you improve.

How it is evaluated

To complete this course