A Python self-check tests operation contracts through twelve questions with explanations.
Review the related lessons
- Python binary search: use a half-open interval and require sorted input
- Python graph BFS: mark a vertex when it enters the queue
- Python bracket stack: reject mismatches at the first invalid close
- Python memoization: cache bounded states without hiding recursion depth
Common Mistakes
State the input and ownership rule before choosing an output. This browser self-check is not a credential or a hosted code judge.
