Add stack, tree and backtracking problems
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, nodejs, python
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:problemspasses.- Tags include the topic (
stack,treesorbacktracking) so it shows up in filters. - Easy or medium difficulty is welcome; this is a good first problem to write.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sennaicodes/codearena
-
Add issue and pull request templatesCó thể làm lại được @franciscorodr26 đã nhận 21 ngày trước và không có pull request nào đang mở. Đang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
sennaicodes/codearena#13 · 1 bình luận ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
sennaicodes/codearena#31 ·
Tất cả issue của sennaicodes/codearena
Issue tương tự
-
FEATURE REQUEST
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ds-bot collides with dsh-argp: tool "recall" is already registered, Bot layer never activatesĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
career-ops-hq/career-ops#6264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Server Submission]: Wiro AIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
cline/mcp-marketplace#3394 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
exelearning/exelearning#2677 ·
Maintainer thường phản hồi trong vòng 1 ngày