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

7 défis
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

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
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
Difficile

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

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
Moyen

Tree Diameter

A tree is a connected undirected graph with no cycles.

GraphsTrees
Aucune solution pour l’instant
Moyen

Can We Split Into Two Teams?

Decide whether people can be assigned to two teams so that each listed pair is on opposite teams.

BipartiteGraphs
Aucune solution pour l’instant