test(palindrome): add test cases for single-char, numeric, and punctuation edge cases
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Currently, problems/palindrome/cases.txt contains only 6 basic test cases, mostly focusing on standard lowercase dictionary words.
To ensure all solution implementations across C, C++, JavaScript, and Python strictly conform to the alphanumeric filtering and case-insensitivity requirements, we should add edge case coverage for:
- Single characters: Boundary cases such as
"a"and"Z"which are trivially palindromes (true). - Numeric palindromes and non-palindromes: Numbers like
"12321"(true) and"12345"(false). - Strings with only symbols/punctuation: Strings like
"!@#$"or"., !?"which contain no alphanumeric characters and reduce to empty strings (true). - Mixed alphanumeric sequences: Inputs like
"0P"(false) and"1a2b3b2a1"(true). - Complex sentences with apostrophes and punctuation: Sentences like
"No 'x' in Nixon"(true).
I would like to open a PR adding these cases to problems/palindrome/cases.txt and verifying that all language runners pass.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 6
- Merge trung bình
- 22 giờ 41 phút
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 techcsispit/code-corner
-
prime/solution.java doesn't compile: public class PrimeCheck in solution.java, README requires Solution.java with a Solution classCó thể đã có người làm @tanujb03 đã nhận 15 ngày trước. Đang mởbug good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
techcsispit/code-corner#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(roman-numerals): add C solutionCó thể đã có người làm @aadiitya2007 đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
techcsispit/code-corner#72 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(prime): add JavaScript solutionCó thể đã có người làm @aadiitya2007 đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
techcsispit/code-corner#70 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(anagram): add C solutionCó thể đã có người làm @aadiitya2007 đã nhận 3 ngày trước. Đang mở
techcsispit/code-corner#68 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(binary-search): add C solutionCó thể đã có người làm @aadiitya2007 đã nhận 3 ngày trước. Đang mở
techcsispit/code-corner#64 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của techcsispit/code-corner
Issue tương tự
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog checkCó thể đã có người làm @ocelotl đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
open-telemetry/opentelemetry-python#5825 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cuga-project/cuga-agent#1020 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
microsoft/playwright#43640 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
stac-utils/stac-fastapi-elasticsearch-opensearch#965 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày