Défis de programmation

Renforcez vos compétences en résolution de problèmes avec des défis neutres en langage, à résoudre en Python, C++ ou C#. Chaque soumission est testée automatiquement et relue par l'IA.

  • Python · C++ · C#
  • Tests automatisés
  • Relecture IA
  • Solutions de la communauté
Parcours d'apprentissage
150
Défis
2
Solutions partagées
3
Langages

Tous les défis

Recherchez par sujet, langage ou difficulté.

84 défis
Facile

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

BeginnerLearning-pathVariables
Facile

Simple Interest

Find the total amount after simple interest.

BeginnerLearning-pathVariables
Aucune solution pour l’instant
Facile

Above-Average Values

Keep the values that are greater than the average.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Facile

Power by Repeated Multiplication

Raise a number to a power with a loop.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Facile

Cart Total With Discount

Total a shopping cart and apply a discount above a threshold.

ArraysBeginnerFunctionsLearning-path
Aucune solution pour l’instant
Moyen

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
Aucune solution pour l’instant
Moyen

Recursive Power

Compute a power recursively by halving the exponent.

BeginnerLearning-pathRecursion
Aucune solution pour l’instant
Facile

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Facile

Ticket Price by Age

Choose a cinema ticket price from the visitor's age.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Facile

Sum of Odd Numbers

Add every odd number up to a limit.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Facile

Compte à rebours jusqu'au décollage

Comptez à rebours à partir d'un nombre et terminez par Liftoff!

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Largest of Three

Pick the largest of three numbers without a built-in max.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Facile

Nombre de Fibonacci

Retournez le n-ième nombre de Fibonacci.

BeginnerLoopsSequencesStudent-beginner
Aucune solution pour l’instant
Facile

Initials From a Name

Build uppercase initials from a full name.

BeginnerLearning-pathStrings
Aucune solution pour l’instant
Facile

Multiplication Table Row

List the first multiples of a number.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
Aucune solution pour l’instant