Badge List
Each student has earned practice badges. Given badge counts, print the largest count.
Open problemProblems
Build problem-solving habits with topic filters, difficulty levels, visible examples, and an online code workspace.
Choose a Python Foundations, coding practice, or PCEP review path and work through problems in order.
Difficulty
Showing 30 of 30 problems
Each student has earned practice badges. Given badge counts, print the largest count.
Open problemFor a project URL preview, convert a project title to lowercase letters.
Open problemA student earns points for each completed module. Given `n` point values, compute the total.
Open problemCount how many vowels appear in a line of text. Treat uppercase and lowercase vowels the same.
Open problemGiven a numeric score, print the matching letter grade.
Open problemRead a student name and print a Caribbean Code welcome message.
Open problemA student practiced for `h` full hours. Convert that time to minutes.
Open problemFind the largest integer in a list.
Open problemBefore a demo, a mentor counts down from `n` to 1. Print each number on its own line.
Open problemGiven a secret number and a guess, print whether the guess is low, high, or correct.
Open problemA student practiced for `h` hours and `m` additional minutes. Compute the total number of minutes practiced.
Open problemA student is ready for certification review if their practice score is at least 70.
Open problemGiven two integers, output their sum.
Open problemGiven a number n and a list A of size n provide the count of all pairs that add up to every number in list B of size n.
Open problemCount how many times a target word appears in a sentence.
Open problemA string contains `P` for present and `A` for absent across several sessions. Find the longest consecutive run of `P`.
Open problemGiven a list of route stop names and a school name, print `YES` if the school appears in the route and `NO` otherwise.
Open problemTrack passengers on a bus after a sequence of stops.
Open problemFind the longest streak of days with temperature at least 30.
Open problemGiven item cost and cash paid in Jamaican dollars, output the minimum number of bills/coins for the change using denominations 5000, 1000, 500, 100, 50, 20, 10, 5, and 1.
Open problemGiven skill scores for students, sort them and print the difference between the highest and lowest score.
Open problemEach mentor group can hold `k` students. Given `n` students, print the minimum number of groups needed.
Open problemAnswer range sum queries on a list using 1-based inclusive indexes.
Open problemGiven `n` project tags and one target tag, count how many times the target appears.
Open problemGiven attendance counts for sessions and a range `l` to `r`, print the total attendance in that inclusive range.
Open problemGiven an undirected graph of rooms and paths, count how many rooms can be reached from room 1.
Open problemGiven module study times and readiness values, choose modules whose total time is at most `T` and maximize total readiness.
Open problemGiven start and end times for workshops, determine the maximum number happening at the same time. End times are exclusive.
Open problemGiven daily practice minutes and a window size `k`, find the maximum total practice minutes over any consecutive `k` days.
Open problemGiven scores and a threshold `t`, count how many scores are at least `t`.
Open problem