Beginner coding challenges

Practise beginner with 95 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Easy · 89 Medium · 6

Skills you'll practise: CountingArithmeticDigit extractionFormulasListsString splitting2D listsConditionsDivisibilityLoopsModuloSingle pass
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
226
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

95 challenges
Easy

Initials From a Name

Build uppercase initials from a full name.

You'll learn String splittingUppercase
BeginnerLearning-pathStrings
No solutions yet
Easy

Count Positive Numbers

Count the values greater than zero in a list.

You'll learn ListsCounting
ArraysBeginnerLearning-path
No solutions yet
Easy

Replace Spaces With Dashes

Turn spaces into dashes to make a URL-style slug.

You'll learn String buildingCharacter replacement
BeginnerLearning-pathStrings
No solutions yet
Easy

Count Uppercase Letters

Count the capital letters in a text.

You'll learn Character checksCounting
BeginnerLearning-pathStrings
No solutions yet
Easy

Second Largest Value

Find the second largest distinct value.

You'll learn Two trackersDistinct values
ArraysBeginnerStudent-beginner
No solutions yet
Easy

Above-Average Values

Keep the values that are greater than the average.

You'll learn Two passesFiltering
ArraysBeginnerLearning-path
No solutions yet
Easy

Count Vowels

Count the vowels in a piece of text.

You'll learn Character checksSet membership
BeginnerStringsStudent-beginner
No solutions yet
Easy

Odd, Even, or Neither

Classify a number by whether it is an odd integer, an even integer, or neither.

You'll learn ModuloConditions
BeginnerNumbers
No solutions yet
Easy

Array Maximum

Find the largest value in a list.

You'll learn Tracking a maximumSingle pass
ArraysBeginnerStudent-beginner
No solutions yet
Easy

Array Minimum

Find the smallest value in a list.

You'll learn Tracking a minimumSingle pass
ArraysBeginnerStudent-beginner
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

You'll learn ConditionsDivisibility
BeginnerNumbers
No solutions yet
Easy

Longest Word

Find the longest word in a sentence.

You'll learn String splittingTracking a maximum
BeginnerStringsStudent-beginner
No solutions yet
Easy

Count Words

Count the words in a sentence.

You'll learn String splittingWhitespace
BeginnerStringsStudent-beginner
No solutions yet
Easy

Classify a Number by Its Divisors

Classify a positive integer as perfect, abundant, or deficient.

You'll learn DivisorsClassification
BeginnerNumber-theory
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

You'll learn Prefix sumsLists
ArraysBeginnerLearning-path
No solutions yet
Easy

Array Average

Compute the average of a list of numbers.

You'll learn Sum and countFloat division
ArraysBeginnerStudent-beginner
No solutions yet
Easy

Move Zeroes

Move every zero to the end while keeping the other order.

You'll learn Two pointersIn-place updates
ArraysBeginnerStudent-beginner
No solutions yet
Easy

Rotate Array

Rotate a list to the right by some steps.

You'll learn Array indexingModulo
ArraysBeginnerStudent-beginner
No solutions yet