Desafios de Programação

Aprimore sua habilidade de resolver problemas com desafios neutros de linguagem que você pode resolver em Python, C++ ou C#. Cada envio é testado automaticamente e revisado por IA.

  • Python · C++ · C#
  • Testes automáticos
  • Revisão de código por IA
  • Soluções da comunidade
Trilha de aprendizado
150
Desafios
0
Soluções compartilhadas
3
Linguagens

Todos os desafios

Busque por tema, linguagem ou dificuldade.

150 desafios
Difícil

Shortest Delivery Tour

Visit every city once and return home as cheaply as possible.

AdvancedBitmasksCompetitive-programmingDynamic-programming
Ainda sem soluções
Fácil

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
Ainda sem soluções
Médio

Shortest Weighted Routes

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

GraphsPriority-queuesShortest-path
Ainda sem soluções
Difícil

Minimum Network Connection Cost

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

Disjoint-setsGraphsMinimum-spanning-tree
Ainda sem soluções
Médio

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
Ainda sem soluções
Médio

Flatten Arbitrarily Nested Lists (Recursion)

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

Data-structuresRecursion
Ainda sem soluções
Médio

Liste Primos com um Crivo

Encontre números primos até um limite marcando múltiplos compostos.

Number-theorySieve
Ainda sem soluções
Difícil

Hotel Room Allocation

Assign arriving groups in order.

Segment-treesSimulation
Ainda sem soluções
Difícil

Mini Stack-Language Interpreter

Evaluate a small stack language.

InterpretersParsingStacks
Ainda sem soluções
Fácil

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
Ainda sem soluções
Fácil

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

BeginnerLearning-pathVariables
Ainda sem soluções
Difícil

Ordem dos Cursos

Ordene os cursos para que todos os pré-requisitos venham antes.

AdvancedGraphsHackathonTopological-sort
Ainda sem soluções
Difícil

Strongly Connected Components

Count groups of nodes that can all reach each other.

AdvancedCompetitive-programmingGraphs
Ainda sem soluções
Difícil

Word Break

Decide whether text can be split into dictionary words.

AdvancedDynamic-programmingHackathonStrings
Ainda sem soluções
Médio

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
Ainda sem soluções
Fácil

Simple Interest

Find the total amount after simple interest.

BeginnerLearning-pathVariables
Ainda sem soluções
Difícil

Recompensas Máximas de Projetos

Escolha projetos não sobrepostos para obter a maior recompensa total.

Dynamic-programmingScheduling
Ainda sem soluções
Fácil

Dias em um Mês

Retorne quantos dias tem um mês, incluindo anos bissextos.

BeginnerConditionsFunctionsLearning-path
Ainda sem soluções