Countdown to High School Contest

Mark your calendars for this exciting event!

00
Days
00
Hours
00
Minutes
00
Seconds

Contest Date: March 27, 2026

Problem Sets

Practice with problems from previous contests

Filter by Difficulty

Easy

Sum of Digits

Given a number, calculate the sum of its digits. For example, the sum of digits for 123 is 6.

85% solved 15 min
Easy

Even or Odd

Write a program that determines whether a given number is even or odd.

90% solved 10 min
Medium

Palindrome Check

Determine if a given string is a palindrome (reads the same forwards and backwards).

65% solved 30 min
Medium

Factorial Calculation

Write a program to calculate the factorial of a non-negative integer.

70% solved 25 min
Hard

Prime Numbers

Given a number n, print all prime numbers less than or equal to n using the Sieve of Eratosthenes.

45% solved 1 hr
Hard

Fibonacci Sequence

Write a program that prints the first n numbers in the Fibonacci sequence, both iteratively and recursively.

50% solved 45 min