Learning path coding challenges

Practise learning path with 40 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 · 35 Medium · 5

Skills you'll practise: Lists2D listsCountingArithmeticFormulasAccumulatorsAge rangesAveragesAvoiding double countsBase casesBoolean flagsBoundary values
  • 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.

40 challenges
Easy

Distance Between Points

Compute the straight-line distance between two points.

You'll learn Pythagorean theoremSquare roots
BeginnerFunctionsLearning-pathmath
No solutions yet
Medium

Count Islands

Count groups of connected land cells in a grid.

You'll learn Flood fillRecursive DFS
BeginnerGridsLearning-pathRecursion
No solutions yet
Medium

Gradebook Top Student

Find the student with the highest average score.

You'll learn 2D listsAverages
BeginnerFunctionsGridsLearning-path
No solutions yet
Easy

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

You'll learn Pairs of indexesAvoiding double counts
ArraysBeginnerLearning-pathNested-loops
No solutions yet
Easy

Number Triangle

Build a triangle of increasing numbers.

You'll learn Growing rowsCounters across rows
BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Average of Three

Average three whole numbers.

You'll learn ArithmeticDivision
BeginnerLearning-pathVariables
Easy

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

You'll learn String patternsPadding
BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

You'll learn ArithmeticReturn values
BeginnerLearning-pathVariables
Easy

Hollow Square

Draw the outline of a square with * characters.

You'll learn Edge detectionBuilding strings
BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Medium

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

You'll learn Base casesString cleaning
BeginnerLearning-pathRecursionStrings
No solutions yet
Easy

Days in a Month

Return how many days a month has, including leap years.

You'll learn Calendar rulesHelper functions
BeginnerConditionsFunctionsLearning-path
No solutions yet
Easy

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

You'll learn FormulasOperator precedence
BeginnerLearning-pathVariables
No solutions yet
Medium

Tic-Tac-Toe Winner

Decide the result of a tic-tac-toe board.

You'll learn Win conditionsDiagonals
BeginnerConditionsGridsLearning-path
No solutions yet
Easy

Halve Until One

Count how many halvings bring a number down to 1.

You'll learn While loopsCounting
BeginnerLearning-pathLoops
No solutions yet
Easy

Multiplication Grid

Build a full multiplication table.

You'll learn 2D listsRow and column indexes
BeginnerLearning-pathNested-loops
No solutions yet
Medium

Recursive Power

Compute a power recursively by halving the exponent.

You'll learn Halving the exponentDivide and conquer
BeginnerLearning-pathRecursion
No solutions yet
Easy

Min and Max Together

Find the smallest and largest value in one pass.

You'll learn Single passMultiple return values
ArraysBeginnerFunctionsLearning-path
No solutions yet
Easy

Simple Interest

Find the total amount after simple interest.

You'll learn PercentagesWord problems
BeginnerLearning-pathVariables
No solutions yet