Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

test(palindrome): add test cases for single-char, numeric, and punctuation edge cases

Offen
#62 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@aadiitya2007 arbeitet bereits daran.

Seit 22.10.2026.

  • #65 von @aadiitya2007 — offen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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:

  1. Single characters: Boundary cases such as "a" and "Z" which are trivially palindromes (true).
  2. Numeric palindromes and non-palindromes: Numbers like "12321" (true) and "12345" (false).
  3. Strings with only symbols/punctuation: Strings like "!@#$" or "., !?" which contain no alphanumeric characters and reduce to empty strings (true).
  4. Mixed alphanumeric sequences: Inputs like "0P" (false) and "1a2b3b2a1" (true).
  5. 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.

Vorherrschende Sprache
Python
Sterne
1
Forks
6
Ø Merge
22 Std. 41 Min.
Gemergte PRs (30 T.)
27

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus techcsispit/code-corner

Alle Issues in techcsispit/code-corner

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.