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

feat(binary-search): add JavaScript solution

クローズ
#56 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

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

2026年10月20日 から。

  • #57 @aadiitya2007 による — マージ済み

評価

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

説明

feature

Description

Under the Contributing section of the README:

"- Add a solution in a language a problem doesn't have yet (solution.rs, solution.c, ...)."

Currently, problems/binary-search has solutions in C++, Python, and Java, but lacks a JavaScript implementation (solution.js).

Proposed Solution

Add problems/binary-search/solution.js that:

  • Reads the target and sorted numbers from standard input.
  • Performs binary search with integer midpoint calculations.
  • Prints the 0-based index of the target or -1 if not found.
  • Passes all existing test cases in cases.txt via python3 run.py binary-search --lang js.
主要言語
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 を短くまとめたダイジェスト。