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

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

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

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

Robot Command Simulator

Move a robot using L (turn left 90 degrees), R (turn right 90 degrees), and A (advance one step).

SimulationState-machines
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

Cart Total With Discount

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

ArraysBeginnerFunctionsLearning-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
Facile

Suite de Collatz

Appliquez la règle : diviser par deux ou multiplier par trois et ajouter un, jusqu'à atteindre 1.

NumbersSimulation
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
Difficile

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
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

Ticket Price by Age

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

BeginnerConditionsLearning-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
Facile

Médiane d'une liste

Trouvez la valeur centrale d'une liste après l'avoir triée.

Arraysmath
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

Nombre de Fibonacci

Retournez le n-ième nombre de Fibonacci.

BeginnerLoopsSequencesStudent-beginner
Aucune solution pour l’instant