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

Word Tile Score

Add the tile values for every letter in a word.

Lookup-tablesStrings
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
Difficile

Récompenses Maximales de Projets

Choisissez des projets non chevauchants pour obtenir la plus grande récompense totale.

Dynamic-programmingScheduling
Aucune solution pour l’instant
Facile

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
Aucune solution pour l’instant
Facile

Running Sum

Replace each value with the total so far.

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

Multiplication Table Row

List the first multiples of a number.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Absolute Value Without abs

Compute an absolute value with a condition.

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

Initials From a Name

Build uppercase initials from a full name.

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

Tic-Tac-Toe Winner

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

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

Point Quadrant

Find which quadrant a point lies in.

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

Tree Diameter

A tree is a connected undirected graph with no cycles.

GraphsTrees
Aucune solution pour l’instant
Difficile

Largest Rectangle in a Histogram

Find the largest rectangle that fits under a histogram.

AdvancedCompetitive-programmingStacks
Aucune solution pour l’instant