practice: add questions on time complexity (Big-O)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 85/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ệ
- json, typescript
- Lĩnh vực
- content
Hướng nghiên cứu
Đọc các câu hỏi lập trình hiện có trong shared/practice/questions.json để làm theo cấu trúc và quy ước của chúng. Thêm ba câu hỏi trắc nghiệm Big-O mới vào chủ đề lập trình, mỗi câu có bốn lựa chọn, một answerId và phần giải thích lập luận. Chạy npm ci và npm test; thay đổi được hoàn tất khi các bước kiểm tra ngân hàng câu hỏi đạt yêu cầu với các câu hỏi mới và các ID hiện có không đổi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to add
Add 3 original multiple-choice questions on time complexity (Big-O) to the programming topic in shared/practice/questions.json.
The programming topic has 6 questions and none of them cover time complexity (Big-O) yet. Some ideas (write your own wording and numbers):
- the complexity of a single loop over n items
- the complexity of two nested loops over n items
- comparing two approaches to the same task (binary search is already covered)
Look at the existing programming questions in the file first and follow the same shape.
Requirements
- The questions must be your own. Do not copy from books, websites, coaching material, or past papers.
- Each question has exactly 4 options (
atod), oneanswerId, and anexplanationthat shows the reasoning or working, not only the answer. - Use
"topicId": "programming"and"difficulty": "easy"or"medium". A mix of both is welcome. - Give each question a new lowercase ID, for example
programming-nested-loop-complexity. Do not change existing IDs. - Indian context is welcome (Rs, km, common names).
Check your change
npm ci
npm test
npm test checks the question bank (unique IDs, four distinct options, a valid answer). If you have the .NET SDK, also run dotnet test backend/ProCoderJi.slnx --configuration Release. If you don't, CI runs the backend tests on your pull request.
Before you start
Leave a comment here when you start so others can pick a different issue. New to open source? Start with CONTRIBUTING.md. Questions are welcome in the comments.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 8 giờ 58 phút
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 procoderji-com/procoderji
-
area:frontend bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
procoderji-com/procoderji#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
procoderji-com/procoderji#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
procoderji-com/procoderji#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
procoderji-com/procoderji#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
procoderji-com/procoderji#32 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của procoderji-com/procoderji
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Termix-SSH/Mobile#146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
devswha/herdr-web-ui#3875 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày