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é.

150 défis
Facile

Above-Average Values

Keep the values that are greater than the average.

ArraysBeginnerLearning-path
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
Moyen

Élever une Fraction à une Puissance Réelle

Élevez une fraction positive à un exposant réel.

Fractionsmath
Aucune solution pour l’instant
Difficile

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
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
Moyen

Island Perimeter

Measure the coastline of land cells in a grid.

AdvancedGridsHackathon
Aucune solution pour l’instant
Moyen

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
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

Cart Total With Discount

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

ArraysBeginnerFunctionsLearning-path
Aucune solution pour l’instant
Moyen

Comptage des mines voisines au Démineur

Annoter un plateau rectangulaire.

ArraysGrids
Aucune solution pour l’instant
Difficile

Hotel Room Allocation

Assign arriving groups in order.

Segment-treesSimulation
Aucune solution pour l’instant
Facile

Body Mass Index

Compute BMI from weight and height.

BeginnerLearning-pathVariables
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
Moyen

Élever un nombre à une puissance fractionnaire

Élevez un nombre réel positif à un exposant rationnel.

Fractionsmath
Aucune solution pour l’instant
Moyen

Recursive Power

Compute a power recursively by halving the exponent.

BeginnerLearning-pathRecursion
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

Classification de triangle

Classifiez trois longueurs de côtés comme invalide, équilatéral, isocèle ou scalène.

ConditionsGeometry
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