Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add stack, tree and backtracking problems

Abierto
#8 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
76/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, nodejs, python
Área
backend, testing

Línea de trabajo

Start with backend/arena/docs/problems.md, then inspect example JSON problems in backend/arena/problems/ and reference solutions in backend/arena/solutions/. Choose one stack, tree, or backtracking problem with supported input types, and add its JSON file plus independent JavaScript and Python references. Run cd backend && npm run validate:problems; done means validation passes and the topic tag makes the problem available in filters.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement good first issue help wanted

Of the 45 problems, almost none use a stack, tree or backtracking. These are some of the most common interview topics and a natural fit for short battles.

Ideas that fit the gaming theme

  • Stack: matching combo inputs, undo history in a level editor, next stronger opponent in a queue.
  • Trees: a tournament bracket or guild hierarchy given as a parent array (integer[]), asking for depth, subtree totals or lowest common ancestor.
  • Backtracking: every squad of size k under a cost cap, or filling a small puzzle grid.

Trees must arrive as one of the supported input types (for example a parent array or an edge list as [integer, integer][]), since drivers do not build node objects.

How to add one

Follow backend/arena/docs/problems.md: one JSON file in backend/arena/problems/ and independent JavaScript and Python references in backend/arena/solutions/.

Definition of done

  • cd backend && npm run validate:problems passes.
  • Tags include the topic (stack, trees or backtracking) so it shows up in filters.
  • Easy or medium difficulty is welcome; this is a good first problem to write.
Lenguaje dominante
JavaScript
Estrellas
0
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sennaicodes/codearena

Todos los issues de sennaicodes/codearena

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.