Back to curriculum

Week 4

Week 4: Problem Solving, Review, and Projects

Finish with PCEP review, USACO-style problem solving, and project/demo preparation.

Log in to track progress on the assigned problems.

Week 4: Problem Solving, Review, and Projects

The final week combines problem-solving strategies, PCEP review, and project/demo preparation.

Topics

  • simulation
  • sorting
  • maps and sets
  • review strategy
  • project presentation

Required Problems

  • Bus Route Check
  • Attendance Streak
  • Mentor Pairing
  • Workshop Capacity
  • Practice Minutes

Lesson completion is automatic. Students complete the week when every required problem has an accepted submission.

Knowledge checks

Quizzes for this lesson

Passing required quizzes contributes to lesson completion.

Quizzes will be added for this lesson when they are ready.

Required practice

Problems for this lesson

Solve all required problems to complete the lesson.

1ListsIntermediateRequired

Bus Route Check

Given a list of route stop names and a school name, print `YES` if the school appears in the route and `NO` otherwise.

Open problem
2SimulationIntermediateRequired

Attendance Streak

A string contains `P` for present and `A` for absent across several sessions. Find the longest consecutive run of `P`.

Open problem
3SortingIntermediateRequired

Mentor Pairing

Given skill scores for students, sort them and print the difference between the highest and lowest score.

Open problem
4Prefix SumsIntermediateRequired

Workshop Capacity

Given attendance counts for sessions and a range `l` to `r`, print the total attendance in that inclusive range.

Open problem
5VariablesBeginnerRequired

Practice Minutes

A student practiced for `h` hours and `m` additional minutes. Compute the total number of minutes practiced.

Open problem