2022-23 Classroom Contest 9 - 2 Pointers and Sliding Window

Welcome to the 2022-23 Classroom Contest!

Classroom Contests will be run alongside weekly lessons from every Tuesday's lunch period to the end of the Monday next week. They consists of at least 4 problems designed to be approachable for beginners and semi-challenging even for seasoned competitive programmers! After the lesson, feel free to ask questions, clarifications, or hints to any of the problems - this is an informal contest, after all. The problems should also all be public right after the contest, so you can also try them afterwards.

Problem difficulties for this contest will be spread out as such:

Problem Description
P1 A warmup problem, just to get your brain juices flowing ;)
P2 A problem relevant to the topic taught, can be solved from the content in the lesson
P3 A harder problem, designed for senior students. May require further knowledge to fully solve.

The contest for this week will run alongside the 2 Pointers and Sliding Window lesson. Hope to see you there!

The lesson for this week can be found here


Problems

Problem Points AC Rate Users
Function Transformations 3 71.4% 10
Unbalanced 7 28.6% 3
Friend Groups 3 12p 37.5% 3

Comments

There are no comments at the moment.