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
0
Solutions partagées
3
Langages

Tous les défis

Recherchez par sujet, langage ou difficulté.

150 défis
Difficile

Tournée de livraison la plus courte

Visitez chaque ville une fois et revenez au point de départ au moindre coût.

AdvancedBitmasksCompetitive-programmingDynamic-programming
Aucune solution pour l’instant
Facile

Distance entre deux points

Calculez la distance en ligne droite entre deux points.

BeginnerFunctionsLearning-pathmath
Aucune solution pour l’instant
Moyen

Shortest Weighted Routes

Find the minimum total route cost from city 1 to each city.

GraphsPriority-queuesShortest-path
Aucune solution pour l’instant
Difficile

Minimum Network Connection Cost

Choose undirected links so that every vertex can reach every other vertex, with minimum total cost.

Disjoint-setsGraphsMinimum-spanning-tree
Aucune solution pour l’instant
Moyen

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
Aucune solution pour l’instant
Moyen

Flatten Arbitrarily Nested Lists (Recursion)

Practice recursion by flattening arbitrarily nested lists while skipping null entries.

Data-structuresRecursion
Aucune solution pour l’instant
Moyen

Lister les nombres premiers avec un crible

Trouvez les nombres premiers jusqu'à une limite en marquant les multiples composés.

Number-theorySieve
Aucune solution pour l’instant
Difficile

Hotel Room Allocation

Assign arriving groups in order.

Segment-treesSimulation
Aucune solution pour l’instant
Difficile

Mini Stack-Language Interpreter

Evaluate a small stack language.

InterpretersParsingStacks
Aucune solution pour l’instant
Facile

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Celsius vers Fahrenheit

Convertir une température de degrés Celsius en degrés Fahrenheit.

BeginnerLearning-pathVariables
Aucune solution pour l’instant
Difficile

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
Aucune solution pour l’instant
Difficile

Composantes fortement connexes

Comptez les groupes de nœuds pouvant tous s’atteindre mutuellement.

AdvancedCompetitive-programmingGraphs
Aucune solution pour l’instant
Difficile

Word Break

Decide whether text can be split into dictionary words.

AdvancedDynamic-programmingHackathonStrings
Aucune solution pour l’instant
Moyen

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
Aucune solution pour l’instant
Facile

Simple Interest

Find the total amount after simple interest.

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

Days in a Month

Return how many days a month has, including leap years.

BeginnerConditionsFunctionsLearning-path
Aucune solution pour l’instant