- Ejecutores
-
Aprender
Aprender Python Ejemplos ejecutables, NumPy, pandas y más Aprender IARedes neuronales, ML y LLM desde cero Aprender C y C++ Punteros, memoria, STL y C++ moderno Aprender C#Fundamentos, POO, LINQ, async y ejercicios de .NET Aprender MatplotlibGráficos de líneas, barras, dispersión y sectores con visualizadores Algoritmos en Python Búsqueda, ordenación, recursión y visualizadores O(n) Algoritmos en C y C++ Compara implementaciones en C y C++ Programación para niños ¡Aprende a programar jugando!
- RetosNuevo
- Para docentesNuevo
- Actualizaciones
- Invítame a un café
Retos de programación en Swift
225 retos que puedes resolver en Swift, desde los primeros bucles hasta grafos, programación dinámica y machine learning. Escribe tu código en el navegador, ejecuta las pruebas al momento y recibe una revisión de IA.
Fácil · 134 Intermedio · 67 Difícil · 24
Habilidades que practicarás: ConteoExtraer dígitosAritméticaBuclesFórmulasListasListas 2DBucles anidadosBucles whileComa flotanteCondicionesDescenso de gradiente
- Python · C++ · C#
- Pruebas automáticas
- Revisión de código por IA
- Soluciones de la comunidad
- 226
- Desafíos
- 123
- Soluciones compartidas
- 9
- Lenguajes
Todos los desafíos
Busca por tema, lenguaje o dificultad.
Fácil
Número de Fibonacci
Devuelve el n-ésimo número de Fibonacci.
Aprenderás
IteraciónActualizar dos variables
Fácil
Rectangle Perimeter
Compute the perimeter of a rectangle from its sides.
Aprenderás
AritméticaValores de retorno
Difícil
Minimum Network Connection Cost
Choose undirected links so that every vertex can reach every other vertex, with minimum total cost.
Aprenderás
Algoritmo de KruskalUnion-find
Aún no hay soluciones
Intermedio
Island Perimeter
Measure the coastline of land cells in a grid.
Aprenderás
Contar aristasRevisar 4 vecinos
Aún no hay soluciones
Intermedio
Shortest Weighted Routes
Find the minimum total route cost from city 1 to each city.
Aprenderás
Algoritmo de DijkstraBorrado perezoso
Aún no hay soluciones
Intermedio
Tic-Tac-Toe Winner
Decide the result of a tic-tac-toe board.
Aprenderás
Condiciones de victoriaDiagonales
Difícil
Trapping Rain Water
Compute how much rain water an elevation map holds.
Aprenderás
Dos punterosMáximos prefijos
Fácil
Hollow Square
Draw the outline of a square with * characters.
Aprenderás
Detectar bordesConstruir cadenas
Difícil
Mini Stack-Language Interpreter
Evaluate a small stack language.
Aprenderás
TokenizarEjecutar instrucciones
Aún no hay soluciones
Intermedio
Recursive Palindrome
Check a palindrome recursively, ignoring case and punctuation.
Aprenderás
Casos baseLimpiar cadenas
Difícil
Count Inversions
Count the out-of-order pairs in a list.
Aprenderás
Ordenación por mezclaDivide y vencerás
Aún no hay soluciones
Fácil
Min and Max Together
Find the smallest and largest value in one pass.
Aprenderás
Una sola pasadaVarios valores de retorno
Difícil
Sliding Window Maximum
Report the maximum of every window of k numbers.
Aprenderás
Deque monótonaVentanas en O(n)
Aún no hay soluciones
Fácil
Cash: Fewest Coins
Give change with as few U.S. coins as possible.
Aprenderás
Algoritmos voracesDar el cambio
Fácil
Halve Until One
Count how many halvings bring a number down to 1.
Aprenderás
Bucles whileConteo
Intermedio
Búsqueda A* en una cuadrícula ponderada
Encuentra el camino más barato a través de una cuadrícula de costes de terreno con A*, el algoritmo de búsqueda detrás de la navegación en juegos y robots.
Aprenderás
Búsqueda A*Heurísticas
Explorar por tema
- Beginner 95
- ai 47
- aprendizaje automático 42
- Strings 36
- Arrays 31
- math 21
- Simulation 19
- Redes neuronales 17
- Numbers 16
- Advanced 15
- Dynamic-programming 12
- Parsing 12
- Competitive-programming 10
- Conditions 9
- Graphs 8
- Grids 8
- Loops 8
- Patrones de diseño 8
- Recursion 7
- Combinatorics 6
- Number-theory 6
- Sorting 6
- Functions 5
- Greedy 5
- Nested-loops 5
- Sequences 5
- Stacks 5
- Variables 5
- Algorithms 4
- Data-structures 4
- Geometry 4
- Patterns 4
- Aprendizaje por refuerzo 3
- Dictionaries 3
- Fractions 3
- Sliding-window 3
- Trees 3