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

Compte à rebours jusqu'au décollage

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

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Note en lettre

Transformez un score de test en note en lettre.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Facile

Running Sum

Replace each value with the total so far.

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

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
Aucune solution pour l’instant
Facile

Nombre de Fibonacci

Retournez le n-ième nombre de Fibonacci.

BeginnerLoopsSequencesStudent-beginner
Aucune solution pour l’instant
Moyen

Tic-Tac-Toe Winner

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

BeginnerConditionsGridsLearning-path
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

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

Absolute Value Without abs

Compute an absolute value with a condition.

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

Point Quadrant

Find which quadrant a point lies in.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Facile

Flatten a 2D Array

Combine the rows of a 2D integer array into one array.

ArraysLoops
Aucune solution pour l’instant
Facile

Nombre manquant

Trouvez le nombre manquant dans 0..n.

ArraysBeginnerStudent-beginnermath
Aucune solution pour l’instant
Moyen

Tree Diameter

A tree is a connected undirected graph with no cycles.

GraphsTrees
Aucune solution pour l’instant
Moyen

Arithmétique exacte des fractions

Effectuez des opérations sur des fractions et retournez une fraction réduite.

Fractionsmath
Aucune solution pour l’instant
Facile

Additionner un tableau

Additionnez toutes les valeurs d'une liste.

ArraysBeginnerStudent-beginner
Aucune solution pour l’instant