Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#62 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@aadiitya2007 がすでに取り組んでいます。

2026年10月22日 から。

  • #65 @aadiitya2007 による — オープン

評価

この issue はまだ評価されていません。

説明

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.

主要言語
Python
スター
1
フォーク
6
平均マージ
22時間 41分
マージ済み PR(30日)
27

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

techcsispit/code-corner のほかの issue

techcsispit/code-corner の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。