A contest practice set
The problem
Choose eight problems from different lessons of this course, solve them, and write a one-page note for each that gives the limits, the idea, the complexity and the mistake you nearly made.
Requirements
- Cover at least five different techniques from the course
- State the limits and the target complexity before writing code
- Test each solution on the sample, the smallest case and a large case
- Write the note for each problem in plain English
Technologies
- C++17
- The STL
- Notes in plain text
- A stopwatch for timing
Step by step
- Pick the problems and write down the limits and the target complexity for each.
- Solve them in a fixed time limit, sample first, then edge cases.
- Time each solution on a large input.
- Write the notes and list the verdict you got on the first try for each.
Expected result
Eight accepted solutions with notes that show how you chose each algorithm from the limits.
How it is evaluated
- Every solution is accepted by the course judge
- Each note names the technique and its complexity
- Large inputs run within the time limit
- The notes are short and clear
Ways to improve it
- Re-solve each problem a week later without looking
- Write a second solution with a different technique
- Explain one problem to a friend